Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = "
|
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 |
|