Spaces:
Sleeping
Sleeping
add hugginface auth
Browse files
app.py
CHANGED
|
@@ -4,6 +4,10 @@ import requests
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
+
import os
|
| 8 |
+
from huggingface_hub import login
|
| 9 |
+
|
| 10 |
+
login(token = os.getenv('TokenAgentCourseJD'))
|
| 11 |
|
| 12 |
from Gradio_UI import GradioUI
|
| 13 |
|