Spaces:
Sleeping
Sleeping
T.Masuda
commited on
Commit
•
1dbf5f7
1
Parent(s):
5a263a4
update app
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ with gr.Blocks(title='text generation ja') as app:
|
|
45 |
chat_history.append((message, bot_message))
|
46 |
return '', chat_history
|
47 |
|
48 |
-
msg.submit(respond, [msg, maxlen, chatbot], [msg, chatbot])
|
49 |
|
50 |
-
app.queue(concurrency_count=20)
|
51 |
app.launch()
|
|
|
45 |
chat_history.append((message, bot_message))
|
46 |
return '', chat_history
|
47 |
|
48 |
+
msg.submit(respond, [msg, maxlen, chatbot], [msg, chatbot], concurrency_limit=20)
|
49 |
|
|
|
50 |
app.launch()
|