Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,6 @@ def respond(
|
|
| 61 |
max_tokens,
|
| 62 |
temperature,
|
| 63 |
top_p,
|
| 64 |
-
# hf_token: gr.OAuthToken,
|
| 65 |
):
|
| 66 |
# Show initial thinking message
|
| 67 |
yield "🤔 Thinking for the suitable answer..."
|
|
@@ -71,7 +70,6 @@ def respond(
|
|
| 71 |
"""
|
| 72 |
# Use Qwen Math model for better mathematical reasoning
|
| 73 |
client = InferenceClient(
|
| 74 |
-
# token=hf_token.token if hf_token else None,
|
| 75 |
model="Qwen/Qwen2.5-Math-7B-Instruct" # Specialized math model
|
| 76 |
)
|
| 77 |
|
|
|
|
| 61 |
max_tokens,
|
| 62 |
temperature,
|
| 63 |
top_p,
|
|
|
|
| 64 |
):
|
| 65 |
# Show initial thinking message
|
| 66 |
yield "🤔 Thinking for the suitable answer..."
|
|
|
|
| 70 |
"""
|
| 71 |
# Use Qwen Math model for better mathematical reasoning
|
| 72 |
client = InferenceClient(
|
|
|
|
| 73 |
model="Qwen/Qwen2.5-Math-7B-Instruct" # Specialized math model
|
| 74 |
)
|
| 75 |
|