Update app.py
Browse files
app.py
CHANGED
@@ -217,9 +217,8 @@ def Chat_Message(history, messages1):
|
|
217 |
for character in response.content:
|
218 |
history[-1][1] += character
|
219 |
time.sleep(0.0025)
|
220 |
-
yield history
|
221 |
|
222 |
-
return messages1
|
223 |
|
224 |
def Internet_Search(history):
|
225 |
messages2 = gr.State(messages1_state)
|
|
|
217 |
for character in response.content:
|
218 |
history[-1][1] += character
|
219 |
time.sleep(0.0025)
|
220 |
+
yield history, messages1
|
221 |
|
|
|
222 |
|
223 |
def Internet_Search(history):
|
224 |
messages2 = gr.State(messages1_state)
|