Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -160,23 +160,4 @@ with gr.Blocks(title="AI Voice Cloning Studio", theme=gr.themes.Soft(primary_hue
|
|
| 160 |
clear_history_btn.click(fn=clear_history, inputs=[], outputs=[history_display])
|
| 161 |
refresh_btn.click(fn=get_system_info, inputs=[], outputs=[system_info])
|
| 162 |
|
| 163 |
-
demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 164 |
-
```
|
| 165 |
-
|
| 166 |
-
**Step 6** — Scroll down → click **Commit new file**
|
| 167 |
-
|
| 168 |
-
---
|
| 169 |
-
|
| 170 |
-
**Step 7** — Now click **Add file** → **Create new file** → name it:
|
| 171 |
-
```
|
| 172 |
-
requirements.txt
|
| 173 |
-
```
|
| 174 |
-
|
| 175 |
-
Paste:
|
| 176 |
-
```
|
| 177 |
-
TTS==0.22.0
|
| 178 |
-
gradio==3.50.2
|
| 179 |
-
torch==2.1.0
|
| 180 |
-
torchaudio==2.1.0
|
| 181 |
-
numpy==1.24.4
|
| 182 |
-
pydub==0.25.1
|
|
|
|
| 160 |
clear_history_btn.click(fn=clear_history, inputs=[], outputs=[history_display])
|
| 161 |
refresh_btn.click(fn=get_system_info, inputs=[], outputs=[system_info])
|
| 162 |
|
| 163 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|