Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
I created old notebook...
#23
by Piiiii - opened
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)
|