mattiashallberg commited on
Commit
e79fbac
1 Parent(s): e649ffb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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('HF_TOKEN_PUBLIC_FROM_PRIVATE', None)
6
- if HF_TOKEN:
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