Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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)
|