Spaces:
Runtime error
Runtime error
vincentmin
commited on
Commit
•
ab4a14e
1
Parent(s):
07257ae
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ import requests
|
|
4 |
|
5 |
import gradio as gr
|
6 |
|
7 |
-
MODEL = "HuggingFaceH4/starchat-beta"
|
|
|
8 |
API_URL = f"https://api-inference.huggingface.co/models/{MODEL}"
|
9 |
HEADERS = {"Authorization": f"Bearer {os.environ['HUB_TOKEN']}"}
|
10 |
|
|
|
4 |
|
5 |
import gradio as gr
|
6 |
|
7 |
+
# MODEL = "HuggingFaceH4/starchat-beta"
|
8 |
+
MODEL = "tiiuae/falcon-7b-instruct"
|
9 |
API_URL = f"https://api-inference.huggingface.co/models/{MODEL}"
|
10 |
HEADERS = {"Authorization": f"Bearer {os.environ['HUB_TOKEN']}"}
|
11 |
|