John6666 commited on
Commit
89a4c40
1 Parent(s): 5bf5db5

Update app.py

Browse files

https://github.com/gradio-app/gradio/issues/6339
I don't know if this fix alone will work, Gradio is incompatible with some of the options and syntax when versions change.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -502,6 +502,6 @@ if __name__ == '__main__':
502
  ]
503
  )
504
  if limitation is True:
505
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
506
  else:
507
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=True)
 
502
  ]
503
  )
504
  if limitation is True:
505
+ app.queue(max_size=20, api_open=config.api).launch(share=config.colab)
506
  else:
507
+ app.queue(max_size=20, api_open=config.api).launch(share=True)