Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,6 +52,13 @@ model = HfApiModel(
|
|
| 52 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 53 |
)
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
with open("prompts.yaml", 'r') as stream:
|
| 56 |
prompt_templates = yaml.safe_load(stream)
|
| 57 |
|
|
|
|
| 52 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 53 |
)
|
| 54 |
|
| 55 |
+
# Define tools list
|
| 56 |
+
tools = {
|
| 57 |
+
"final_answer": FinalAnswerTool(),
|
| 58 |
+
"is_prime": is_prime,
|
| 59 |
+
"get_current_time_in_timezone": get_current_time_in_timezone
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
with open("prompts.yaml", 'r') as stream:
|
| 63 |
prompt_templates = yaml.safe_load(stream)
|
| 64 |
|