Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -315,7 +315,7 @@ def generate(text, history, rag_option, model_option, k=3, top_p=0.6, temperatu
|
|
| 315 |
try:
|
| 316 |
if (model_option == "HF1"):
|
| 317 |
#Anfrage an InferenceEndpoint1 ----------------------------
|
| 318 |
-
API_URL = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
|
| 319 |
print("HF1")
|
| 320 |
else:
|
| 321 |
API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180B-chat"
|
|
|
|
| 315 |
try:
|
| 316 |
if (model_option == "HF1"):
|
| 317 |
#Anfrage an InferenceEndpoint1 ----------------------------
|
| 318 |
+
API_URL = "https://ih7lj8onsvp1wbh0.us-east-1.aws.endpoints.huggingface.cloud" #"https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
|
| 319 |
print("HF1")
|
| 320 |
else:
|
| 321 |
API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180B-chat"
|