Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ def generate_math_questions(grade, term, qtype="Unspecified", num_questions=10):
|
|
| 133 |
model="deepscaler",
|
| 134 |
# model="mistralai/Mistral-Nemo-Instruct-2407",
|
| 135 |
messages=messages,
|
| 136 |
-
max_tokens=
|
| 137 |
)
|
| 138 |
|
| 139 |
# 傳回模型產生的文本
|
|
|
|
| 133 |
model="deepscaler",
|
| 134 |
# model="mistralai/Mistral-Nemo-Instruct-2407",
|
| 135 |
messages=messages,
|
| 136 |
+
max_tokens=500
|
| 137 |
)
|
| 138 |
|
| 139 |
# 傳回模型產生的文本
|