hadadrjt commited on
Commit
113566d
·
1 Parent(s): 934df70

ai: Ready to smooth stream-like outputs.

Browse files
Files changed (1) hide show
  1. jarvis.py +1 -1
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.0001)
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):