mattiashallberg
commited on
Commit
•
c318ff6
1
Parent(s):
e578c53
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
-
HF_TOKEN = os.environ.get('
|
6 |
|
7 |
-
gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", api_key=
|
8 |
|
9 |
# login works
|
10 |
def environ_auth(username, password):
|
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
+
HF_TOKEN = os.environ.get('HF_TOKEN_PUBLIC_FROM_PRIVATE', None)
|
6 |
|
7 |
+
gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", api_key=HF_TOKEN).launch()
|
8 |
|
9 |
# login works
|
10 |
def environ_auth(username, password):
|