Update app.py
Browse files
app.py
CHANGED
@@ -68,9 +68,11 @@ with gr.Blocks(css="style.css") as demo:
|
|
68 |
autoplay=True,
|
69 |
elem_classes="audio")
|
70 |
gr.Interface(
|
|
|
|
|
71 |
fn=respond,
|
72 |
inputs=[input],
|
73 |
-
|
74 |
|
75 |
if __name__ == "__main__":
|
76 |
demo.queue(max_size=200).launch()
|
|
|
68 |
autoplay=True,
|
69 |
elem_classes="audio")
|
70 |
gr.Interface(
|
71 |
+
batch=True,
|
72 |
+
max_batch_size=10,
|
73 |
fn=respond,
|
74 |
inputs=[input],
|
75 |
+
outputs=[output], live=False)
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
demo.queue(max_size=200).launch()
|