alexkueck commited on
Commit
ddf8171
·
1 Parent(s): 71207a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -299,6 +299,7 @@ def generate(text, history, rag_option, model_option, temperature=0.5, max_new_
299
  response= requests.post(API_URL, headers=HEADERS, json=data)
300
  result = response.json()
301
  print("result:------------------")
 
302
  chatbot_response = result[0]['generated_text']
303
  print(chatbot_response)
304
  except Exception as e:
 
299
  response= requests.post(API_URL, headers=HEADERS, json=data)
300
  result = response.json()
301
  print("result:------------------")
302
+ print(result)
303
  chatbot_response = result[0]['generated_text']
304
  print(chatbot_response)
305
  except Exception as e: