mattiashallberg
commited on
Commit
•
e79fbac
1
Parent(s):
e649ffb
Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,8 @@ import gradio as gr
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
-
HF_TOKEN = os.environ.get('
|
6 |
-
|
7 |
-
pass
|
8 |
-
else:
|
9 |
-
print("to HF_TOKEN token found!")
|
10 |
|
11 |
gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", api_key=HF_TOKEN).launch()
|
12 |
|
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
+
HF_TOKEN = os.environ.get('HUGGING_FACE_HUB_TOKEN', None)
|
6 |
+
print("to HF_TOKEN token found!")
|
|
|
|
|
|
|
7 |
|
8 |
gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", api_key=HF_TOKEN).launch()
|
9 |
|