Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -128,9 +128,9 @@ from stf_utils import STFPipeline
|
|
128 |
# audio_path="assets/examples/driving/test_aud.mp3"
|
129 |
#audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
|
135 |
|
136 |
###### 테스트중 ######
|
|
|
128 |
# audio_path="assets/examples/driving/test_aud.mp3"
|
129 |
#audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
130 |
|
131 |
+
@spaces.GPU(duration=120)
|
132 |
+
def gpu_wrapped_stf_pipeline_execute(audio_path):
|
133 |
+
return stf_pipeline.execute(audio_path)
|
134 |
|
135 |
|
136 |
###### 테스트중 ######
|