Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ import yaml
|
|
6 |
from tools.final_answer import FinalAnswerTool
|
7 |
|
8 |
from Gradio_UI import GradioUI
|
|
|
9 |
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
@@ -51,7 +52,7 @@ final_answer = FinalAnswerTool()
|
|
51 |
model = HfApiModel(
|
52 |
max_tokens=2096,
|
53 |
temperature=0.5,
|
54 |
-
model_id='
|
55 |
custom_role_conversions=None,
|
56 |
)
|
57 |
|
|
|
6 |
from tools.final_answer import FinalAnswerTool
|
7 |
|
8 |
from Gradio_UI import GradioUI
|
9 |
+
import os
|
10 |
|
11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
12 |
@tool
|
|
|
52 |
model = HfApiModel(
|
53 |
max_tokens=2096,
|
54 |
temperature=0.5,
|
55 |
+
model_id='meta-llama/Llama-3.2-3B-Instruct',# it is possible that this model may be overloaded
|
56 |
custom_role_conversions=None,
|
57 |
)
|
58 |
|