Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,17 +10,8 @@ if not OPENAI_API_KEY:
|
|
| 10 |
|
| 11 |
client = OpenAI(api_key=OPENAI_API_KEY)
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
#### **Task Introduction**
|
| 16 |
-
"Welcome to this module on proportional reasoning problem types!
|
| 17 |
-
Your task is to explore three different problem types foundational to proportional reasoning:
|
| 18 |
-
1️⃣ **Missing Value Problems**
|
| 19 |
-
2️⃣ **Numerical Comparison Problems**
|
| 20 |
-
3️⃣ **Qualitative Reasoning Problems**
|
| 21 |
-
You will solve and compare these problems, **identify their characteristics**, and finally **create your own problems** for each type.
|
| 22 |
-
🚀 **Let's begin! Solve each problem and analyze your solution process.**"
|
| 23 |
-
"""
|
| 24 |
|
| 25 |
def respond(user_message, history):
|
| 26 |
if not user_message:
|
|
|
|
| 10 |
|
| 11 |
client = OpenAI(api_key=OPENAI_API_KEY)
|
| 12 |
|
| 13 |
+
# ✅ Load the main prompt
|
| 14 |
+
from main import MAIN_PROMPT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
def respond(user_message, history):
|
| 17 |
if not user_message:
|