Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ from stf_utils import STFPipeline
|
|
| 53 |
|
| 54 |
stf_pipeline = STFPipeline()
|
| 55 |
audio_path="assets/examples/driving/test_aud.mp3"
|
| 56 |
-
audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 57 |
|
| 58 |
|
| 59 |
@spaces.GPU(duration=120)
|
|
@@ -73,6 +73,7 @@ args = tyro.cli(ArgumentConfig)
|
|
| 73 |
|
| 74 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 75 |
with gr.Row():
|
|
|
|
| 76 |
stf_button = gr.Button("stf test", variant="primary")
|
| 77 |
stf_button.click(
|
| 78 |
fn=gpu_wrapped_stf_pipeline_execute,
|
|
|
|
| 53 |
|
| 54 |
stf_pipeline = STFPipeline()
|
| 55 |
audio_path="assets/examples/driving/test_aud.mp3"
|
| 56 |
+
#audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 57 |
|
| 58 |
|
| 59 |
@spaces.GPU(duration=120)
|
|
|
|
| 73 |
|
| 74 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 75 |
with gr.Row():
|
| 76 |
+
audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 77 |
stf_button = gr.Button("stf test", variant="primary")
|
| 78 |
stf_button.click(
|
| 79 |
fn=gpu_wrapped_stf_pipeline_execute,
|