Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ final_answer = FinalAnswerTool()
|
|
| 50 |
|
| 51 |
# Initialize the model
|
| 52 |
model = HfApiModel(
|
| 53 |
-
max_tokens=
|
| 54 |
temperature=0.5,
|
| 55 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 56 |
custom_role_conversions=None,
|
|
|
|
| 50 |
|
| 51 |
# Initialize the model
|
| 52 |
model = HfApiModel(
|
| 53 |
+
max_tokens=1500, # Reduced from 2096 to avoid token limit errors
|
| 54 |
temperature=0.5,
|
| 55 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 56 |
custom_role_conversions=None,
|