Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -9,7 +9,7 @@ from tools import duckduckgo_search, wikipedia_search, summarize_text, load_memo
|
|
9 |
tokens = os.environ.get('HUGGINGFACEHUB_API_TOKEN')
|
10 |
print(tokens)
|
11 |
|
12 |
-
token =
|
13 |
#Token di Autorizzazione (verifica ambiente)
|
14 |
token = 'HUGGINGFACEHUB_API_TOKEN'
|
15 |
if not token:
|
|
|
9 |
tokens = os.environ.get('HUGGINGFACEHUB_API_TOKEN')
|
10 |
print(tokens)
|
11 |
|
12 |
+
token = os.getenv('HF_HOME/token')
|
13 |
#Token di Autorizzazione (verifica ambiente)
|
14 |
token = 'HUGGINGFACEHUB_API_TOKEN'
|
15 |
if not token:
|