jackangel commited on
Commit
9ab294b
·
verified ·
1 Parent(s): 9550782

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,6 +37,7 @@ def chatbot(message, history):
37
  airemember += "USER: " + human + "\nASSISTANT:" + assistant+"\n\n"
38
  sendtoai = airemember + prompt
39
  result = llm(sendtoai, **generation_kwargs)
40
- return result.choices[0].text
 
41
  app = gr.ChatInterface(chatbot)
42
  app.launch()
 
37
  airemember += "USER: " + human + "\nASSISTANT:" + assistant+"\n\n"
38
  sendtoai = airemember + prompt
39
  result = llm(sendtoai, **generation_kwargs)
40
+ print(result)
41
+ return result
42
  app = gr.ChatInterface(chatbot)
43
  app.launch()