Spaces:
Sleeping
Sleeping
Commit
·
6ac79dd
1
Parent(s):
18e1ba3
updated code
Browse files
app.py
CHANGED
|
@@ -6,7 +6,9 @@ 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 |
|
| 12 |
|
|
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
+
from huggingface_hub import login
|
| 10 |
+
import os
|
| 11 |
+
login(token=os.environ["hf_token"])
|
| 12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 13 |
|
| 14 |
|