mattiashallberg
commited on
Commit
•
1d143dd
1
Parent(s):
5c65d31
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
-
# HF_TOKEN = os.environ.get('HUGGING_FACE_HUB_TOKEN')
|
6 |
HF_TOKEN = os.environ.get('hf_access_to_attuned_coaching_bot_demo_private')
|
7 |
|
8 |
def environ_auth(username, password):
|
@@ -26,6 +25,5 @@ def environ_auth(username, password):
|
|
26 |
return False
|
27 |
|
28 |
demo = gr.load("attuned-ai/CoachingBotDemo-Private", src="spaces", hf_token=HF_TOKEN)
|
29 |
-
# demo = gr.load("attuned-ai/TestPrivateSpace", src="spaces", hf_token=HF_TOKEN)
|
30 |
demo.queue(max_size=20)
|
31 |
demo.launch(auth=environ_auth).launch()
|
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
|
|
5 |
HF_TOKEN = os.environ.get('hf_access_to_attuned_coaching_bot_demo_private')
|
6 |
|
7 |
def environ_auth(username, password):
|
|
|
25 |
return False
|
26 |
|
27 |
demo = gr.load("attuned-ai/CoachingBotDemo-Private", src="spaces", hf_token=HF_TOKEN)
|
|
|
28 |
demo.queue(max_size=20)
|
29 |
demo.launch(auth=environ_auth).launch()
|