huohuoma commited on
Commit
adbb3b6
1 Parent(s): 4a56c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import requests
6
  import gradio as gr
7
  from huggingface_hub import Repository, InferenceClient
8
 
9
- HF_TOKEN = "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"
10
  API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180B-chat"
11
  BOT_NAME = "Falcon"
12
 
 
6
  import gradio as gr
7
  from huggingface_hub import Repository, InferenceClient
8
 
9
+ HF_TOKEN = os.environ.get("HF_TOKEN", None)
10
  API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180B-chat"
11
  BOT_NAME = "Falcon"
12