Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ gpu_id="cuda"
|
|
9 |
controllable_ui = ControllableInterface(gpu_id=gpu_id)
|
10 |
|
11 |
@spaces.GPU
|
12 |
-
def read(
|
13 |
sr, wav = controllable_ui.read(prompt, -24.)
|
14 |
return sr, float2pcm(wav)
|
15 |
|
|
|
9 |
controllable_ui = ControllableInterface(gpu_id=gpu_id)
|
10 |
|
11 |
@spaces.GPU
|
12 |
+
def read(prompt):
|
13 |
sr, wav = controllable_ui.read(prompt, -24.)
|
14 |
return sr, float2pcm(wav)
|
15 |
|