Spaces:
Running
Running
ai: Ready to smooth stream-like outputs.
Browse files
jarvis.py
CHANGED
@@ -278,7 +278,7 @@ async def respond_async(multi, history, model_display, sess, custom_prompt):
|
|
278 |
return repr(d)
|
279 |
for c in ai:
|
280 |
history[-1][1] += to_str(c)
|
281 |
-
await asyncio.sleep(0.
|
282 |
yield history, gr.MultimodalTextbox(value=None, interactive=True), sess
|
283 |
|
284 |
def change_model(new):
|
|
|
278 |
return repr(d)
|
279 |
for c in ai:
|
280 |
history[-1][1] += to_str(c)
|
281 |
+
await asyncio.sleep(0.0008)
|
282 |
yield history, gr.MultimodalTextbox(value=None, interactive=True), sess
|
283 |
|
284 |
def change_model(new):
|