Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,6 @@ from duckduckgo_search import DDGS
|
|
| 9 |
|
| 10 |
from Gradio_UI import GradioUI
|
| 11 |
|
| 12 |
-
HF_API_TOKEN=
|
| 13 |
-
|
| 14 |
|
| 15 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 16 |
@tool
|
|
@@ -74,7 +72,6 @@ model = HfApiModel(
|
|
| 74 |
max_tokens=2096,
|
| 75 |
temperature=0.5,
|
| 76 |
model_id="utter-project/EuroLLM-1.7B", # it is possible that this model may be overloaded
|
| 77 |
-
api_key=HF_API_TOKEN, # ✅ Pass API token here
|
| 78 |
custom_role_conversions=None,
|
| 79 |
)
|
| 80 |
|
|
|
|
| 9 |
|
| 10 |
from Gradio_UI import GradioUI
|
| 11 |
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 14 |
@tool
|
|
|
|
| 72 |
max_tokens=2096,
|
| 73 |
temperature=0.5,
|
| 74 |
model_id="utter-project/EuroLLM-1.7B", # it is possible that this model may be overloaded
|
|
|
|
| 75 |
custom_role_conversions=None,
|
| 76 |
)
|
| 77 |
|