Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 33 |
except Exception as e:
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
| 36 |
-
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
-
|
| 39 |
max_tokens=2096,
|
| 40 |
temperature=0.5,
|
| 41 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
|
|
|
| 33 |
except Exception as e:
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
|
|
|
| 36 |
final_answer = FinalAnswerTool()
|
| 37 |
+
model = InferenceClientModel(
|
| 38 |
max_tokens=2096,
|
| 39 |
temperature=0.5,
|
| 40 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|