Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ def talk(prompt, history):
|
|
| 121 |
# return(stream['choices'][0]['message']['content'])
|
| 122 |
text = ""
|
| 123 |
for output in stream:
|
| 124 |
-
text += output['choices'][
|
| 125 |
print(f"{output}")
|
| 126 |
print("check3H")
|
| 127 |
print(text)
|
|
|
|
| 121 |
# return(stream['choices'][0]['message']['content'])
|
| 122 |
text = ""
|
| 123 |
for output in stream:
|
| 124 |
+
text += output['choices']['message']['content']
|
| 125 |
print(f"{output}")
|
| 126 |
print("check3H")
|
| 127 |
print(text)
|