alexkueck commited on
Commit
6db1b29
1 Parent(s): 0b2d20d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -276,7 +276,7 @@ def generate(text, history, rag_option, model_option, k=3, temperature=0.5, max
276
  raise gr.Error("Prompt ist erforderlich.")
277
 
278
  try:
279
- if (model_option == "Huggingface1"):
280
  #Anfrage an InferenceEndpoint1 ----------------------------
281
  API_URL = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
282
  print("HF1")
 
276
  raise gr.Error("Prompt ist erforderlich.")
277
 
278
  try:
279
+ if (model_option == "HuggingFace1"):
280
  #Anfrage an InferenceEndpoint1 ----------------------------
281
  API_URL = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
282
  print("HF1")