KingNish commited on
Commit
eae3b08
1 Parent(s): 1bfbe44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- outputs=[output], live=False)
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()