alexkueck commited on
Commit
a5a9a19
1 Parent(s): 33709be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -464,7 +464,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
464
  result = resulti.strip()
465
  else:
466
  data = {"inputs": prompt, "options": {"max_new_tokens": max_new_tokens},}
467
- response = requests.post(API_URL, headers=HEADERS, json=data)
468
  result = response.json()
469
 
470
 
 
464
  result = resulti.strip()
465
  else:
466
  data = {"inputs": prompt, "options": {"max_new_tokens": max_new_tokens},}
467
+ response = requests.post(API_URL_TEXT, headers=HEADERS, json=data)
468
  result = response.json()
469
 
470