alexkueck commited on
Commit
3c2c60a
1 Parent(s): 0d500dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -302,7 +302,7 @@ def generate(text, history, rag_option, model_option, temperature=0.5, max_new_
302
  chatbot_response = result[0]['generated_text']
303
  print(chatbot_response)
304
  print("anzahl tokens gesamt antwort:------------------")
305
- print (len(response.split()))
306
  except Exception as e:
307
  raise gr.Error(e)
308
 
 
302
  chatbot_response = result[0]['generated_text']
303
  print(chatbot_response)
304
  print("anzahl tokens gesamt antwort:------------------")
305
+ print (len(chatbot_response.split()))
306
  except Exception as e:
307
  raise gr.Error(e)
308