yuntian-deng commited on
Commit
d4b9157
1 Parent(s): 9a9886f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
85
  # raise Exception(f"Sorry, hitting rate limit. Please try again later. {response}")
86
 
87
  for chunk in response.iter_lines():
88
- print (chunk)
89
- sys.stdout.flush()
90
  #Skipping first chunk
91
  if counter == 0:
92
  counter += 1
 
85
  # raise Exception(f"Sorry, hitting rate limit. Please try again later. {response}")
86
 
87
  for chunk in response.iter_lines():
88
+ #print (chunk)
89
+ #sys.stdout.flush()
90
  #Skipping first chunk
91
  if counter == 0:
92
  counter += 1