Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.title("ChatGPT-like Chat boat")
|
|
7 |
|
8 |
base_url="https://api-inference.huggingface.co/models/"
|
9 |
|
10 |
-
API_KEY = os.environ.get('
|
11 |
headers = {"Authorization":"Bearer "+API_KEY}
|
12 |
|
13 |
model_links ={
|
|
|
7 |
|
8 |
base_url="https://api-inference.huggingface.co/models/"
|
9 |
|
10 |
+
API_KEY = os.environ.get('HUGGINGFACE_API_KEY')
|
11 |
headers = {"Authorization":"Bearer "+API_KEY}
|
12 |
|
13 |
model_links ={
|