BasToTheMax commited on
Commit
e04af2a
·
1 Parent(s): e39c272
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -10,5 +10,6 @@ def greet(source, target):
10
 
11
  return "/tmp/out.wav"
12
 
13
- iface = gr.Interface(fn=greet, inputs=[gr.Audio(type="filepath"), gr.Audio(type="filepath")], outputs=gr.Audio(type="filepath"))
14
- iface.launch()
 
 
10
 
11
  return "/tmp/out.wav"
12
 
13
+ app = gr.Interface(fn=greet, inputs=[gr.Audio(type="filepath"), gr.Audio(type="filepath")], outputs=gr.Audio(type="filepath"))
14
+ app.queue(max_size=5000, concurrency_count=1)
15
+ app.launch()