pngwn HF Staff commited on
Commit
b440737
·
verified ·
1 Parent(s): 7c5ef8e

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -8,7 +8,7 @@ def slow_echo(message, history):
8
  yield "You typed: " + message[: i + 1]
9
 
10
 
11
- demo = gr.ChatInterface(slow_echo).queue()
12
 
13
  if __name__ == "__main__":
14
  demo.launch()
 
8
  yield "You typed: " + message[: i + 1]
9
 
10
 
11
+ demo = gr.ChatInterface(slow_echo, concurrency_limit=10).queue()
12
 
13
  if __name__ == "__main__":
14
  demo.launch()