I created old notebook...

#23
by Piiiii - opened
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -732,4 +732,8 @@ if __name__ == '__main__':
732
  tts_voice
733
  ]
734
  )
735
- app.queue(concurrency_count=5, max_size=50, api_open=config.api).launch(share=config.share)
 
 
 
 
 
732
  tts_voice
733
  ]
734
  )
735
+ app.queue(concurrency_count=5, max_size=50, api_open=config.api).launch(share=config.share)
736
+ if limitation is True:
737
+ app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
738
+ else:
739
+ app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=True)