Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import requests
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
@@ -57,7 +58,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 57 |
|
| 58 |
|
| 59 |
final_answer = FinalAnswerTool()
|
| 60 |
-
|
| 61 |
max_tokens=2096,
|
| 62 |
temperature=0.5,
|
| 63 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
|
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
+
import os
|
| 8 |
|
| 9 |
from Gradio_UI import GradioUI
|
| 10 |
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
final_answer = FinalAnswerTool()
|
| 61 |
+
model = InferenceClientModel(
|
| 62 |
max_tokens=2096,
|
| 63 |
temperature=0.5,
|
| 64 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|