lvkaokao commited on
Commit
d8475f2
1 Parent(s): 9747a90

update codes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -273,7 +273,7 @@ def http_bot(state, model_selector, temperature, max_new_tokens, request: gr.Req
273
  enable_btn,
274
  )
275
  return
276
- time.sleep(0.02)
277
  except requests.exceptions.RequestException as e:
278
  state.messages[-1][-1] = server_error_msg + f" (error_code: 4)"
279
  yield (state, state.to_gradio_chatbot()) + (
 
273
  enable_btn,
274
  )
275
  return
276
+ time.sleep(0.005)
277
  except requests.exceptions.RequestException as e:
278
  state.messages[-1][-1] = server_error_msg + f" (error_code: 4)"
279
  yield (state, state.to_gradio_chatbot()) + (