zac commited on
Commit
63846c8
·
1 Parent(s): 4ac82e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def generate_text(input_text, history):
25
  stream = copy.deepcopy(out)
26
  print(stream["choices"][0]["text"])
27
  history =["init",input_text_with_history]
28
- yield stream
29
 
30
 
31
  demo = gr.ChatInterface(generate_text)
 
25
  stream = copy.deepcopy(out)
26
  print(stream["choices"][0]["text"])
27
  history =["init",input_text_with_history]
28
+ yield output
29
 
30
 
31
  demo = gr.ChatInterface(generate_text)