Spaces:
Sleeping
Sleeping
Commit ·
4ede552
1
Parent(s): 285dd15
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,12 +21,7 @@ os.environ['CURL_CA_BUNDLE'] = ''
|
|
| 21 |
from rmvpe import RMVPE
|
| 22 |
from vc_infer_pipeline import VC
|
| 23 |
import ssl
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
# Set a custom timeout for all requests (adjust the timeout as needed)
|
| 27 |
-
requests.adapters.DEFAULT_RETRIES = 3 # Number of retries on failure
|
| 28 |
-
requests.adapters.DEFAULT_TIMEOUT = 60
|
| 29 |
-
|
| 30 |
|
| 31 |
ssl._create_default_https_context = ssl._create_unverified_context
|
| 32 |
|
|
@@ -249,7 +244,7 @@ Input text ➡[(edge-tts)](https://github.com/rany2/edge-tts)➡ Speech mp3 file
|
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
-
app = gr.Blocks()
|
| 253 |
with app:
|
| 254 |
gr.Markdown(initial_md)
|
| 255 |
with gr.Row():
|
|
|
|
| 21 |
from rmvpe import RMVPE
|
| 22 |
from vc_infer_pipeline import VC
|
| 23 |
import ssl
|
| 24 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
ssl._create_default_https_context = ssl._create_unverified_context
|
| 27 |
|
|
|
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
+
app = gr.Blocks(enable_queue=True)
|
| 248 |
with app:
|
| 249 |
gr.Markdown(initial_md)
|
| 250 |
with gr.Row():
|