Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import queue
|
| 3 |
from huggingface_hub import snapshot_download
|
|
@@ -60,7 +63,6 @@ The model running in this WebUI is OpenAudio S1 Mini.
|
|
| 60 |
TEXTBOX_PLACEHOLDER = """Put your text here. 在此处输入文本."""
|
| 61 |
|
| 62 |
try:
|
| 63 |
-
import spaces
|
| 64 |
|
| 65 |
GPU_DECORATOR = spaces.GPU
|
| 66 |
except ImportError:
|
|
|
|
| 1 |
+
|
| 2 |
+
import spaces
|
| 3 |
+
|
| 4 |
import os
|
| 5 |
import queue
|
| 6 |
from huggingface_hub import snapshot_download
|
|
|
|
| 63 |
TEXTBOX_PLACEHOLDER = """Put your text here. 在此处输入文本."""
|
| 64 |
|
| 65 |
try:
|
|
|
|
| 66 |
|
| 67 |
GPU_DECORATOR = spaces.GPU
|
| 68 |
except ImportError:
|