JeCabrera commited on
Commit
cda11b6
·
verified ·
1 Parent(s): cab9349

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def stream_response(response, message_placeholder, typing_indicator):
104
  if chunk.text:
105
  for ch in chunk.text:
106
  full_response += ch
107
- time.sleep(0.01)
108
  typing_indicator.markdown("*Generando respuesta...*")
109
  message_placeholder.markdown(full_response + '▌')
110
  except Exception as e:
 
104
  if chunk.text:
105
  for ch in chunk.text:
106
  full_response += ch
107
+ time.sleep(0.1)
108
  typing_indicator.markdown("*Generando respuesta...*")
109
  message_placeholder.markdown(full_response + '▌')
110
  except Exception as e: