andhikagg commited on
Commit
215efe9
·
verified ·
1 Parent(s): 593b4f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -680,7 +680,4 @@ if __name__ == '__main__':
680
  ]
681
  )
682
 
683
- if spaces is True:
684
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
685
- else:
686
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=True)
 
680
  ]
681
  )
682
 
683
+ app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab if spaces else True)