Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def generate_math_questions(grade, term, qtype="Unspecified", num_questions=10):
|
|
130 |
# 使用 InferenceClient 呼叫 API 模型產生新題目
|
131 |
completion = client.chat.completions.create(
|
132 |
# model="mistralai/Mistral-7B-Instruct-v0.3",
|
133 |
-
model="
|
134 |
# model="mistralai/Mistral-Nemo-Instruct-2407",
|
135 |
messages=messages,
|
136 |
max_tokens=500
|
|
|
130 |
# 使用 InferenceClient 呼叫 API 模型產生新題目
|
131 |
completion = client.chat.completions.create(
|
132 |
# model="mistralai/Mistral-7B-Instruct-v0.3",
|
133 |
+
model="llama-3.2-3b-preview",
|
134 |
# model="mistralai/Mistral-Nemo-Instruct-2407",
|
135 |
messages=messages,
|
136 |
max_tokens=500
|