mattiashallberg commited on
Commit
37c74f6
1 Parent(s): f594a3d

hf_access_to_private_space

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ 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
 
7
  # gr.load(name="Attuned-Communication-Bot", src="spaces").launch()
8
  # gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", hf_token=HF_TOKEN, src="spaces").launch()
 
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_private_space')
7
 
8
  # gr.load(name="Attuned-Communication-Bot", src="spaces").launch()
9
  # gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", hf_token=HF_TOKEN, src="spaces").launch()