sunny-gurung commited on
Commit
2b5543b
·
verified ·
1 Parent(s): c12c354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def streaming_response(user_input, history):
6
  response = chatbot_response(user_input, history)
7
  for i in range(len(response)):
8
  time.sleep(0.1)
9
- yield response[:i+1]
10
 
11
  #Response
12
  def chatbot_response(user_input, history):
 
6
  response = chatbot_response(user_input, history)
7
  for i in range(len(response)):
8
  time.sleep(0.1)
9
+ yield response[:i + 3]
10
 
11
  #Response
12
  def chatbot_response(user_input, history):