Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,7 @@ def generate_text(input_text, history):
|
|
27 |
stream = copy.deepcopy(out)
|
28 |
print(stream["choices"][0]["text"])
|
29 |
input_text_with_history += stream["choices"][0]["text"]
|
30 |
-
|
31 |
-
yield input_text_with_history
|
32 |
|
33 |
|
34 |
history =["init",input_text_with_history]
|
|
|
27 |
stream = copy.deepcopy(out)
|
28 |
print(stream["choices"][0]["text"])
|
29 |
input_text_with_history += stream["choices"][0]["text"]
|
30 |
+
yield stream["choices"][0]["text"]
|
|
|
31 |
|
32 |
|
33 |
history =["init",input_text_with_history]
|