Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -139,6 +139,7 @@ with demo:
|
|
139 |
file_input = gr.Audio(type="filepath", optional=True, labe="Drop your audio file here.")
|
140 |
file_output = gr.Textbox(labe="Your output is here.")
|
141 |
text_button4 = gr.Button("Submit")
|
|
|
142 |
with gr.TabItem("From youtube"):
|
143 |
with gr.Row():
|
144 |
youtube_input = gr.Textbox(
|
@@ -159,5 +160,6 @@ with demo:
|
|
159 |
outputs=twitch_output)
|
160 |
text_button4.click(process, inputs=file_input,
|
161 |
outputs=file_output)
|
|
|
162 |
|
163 |
demo.launch(enable_queue=True)
|
|
|
139 |
file_input = gr.Audio(type="filepath", optional=True, labe="Drop your audio file here.")
|
140 |
file_output = gr.Textbox(labe="Your output is here.")
|
141 |
text_button4 = gr.Button("Submit")
|
142 |
+
examples = gr.Examples([["ex/ex1.mp3"]], theme="grass")
|
143 |
with gr.TabItem("From youtube"):
|
144 |
with gr.Row():
|
145 |
youtube_input = gr.Textbox(
|
|
|
160 |
outputs=twitch_output)
|
161 |
text_button4.click(process, inputs=file_input,
|
162 |
outputs=file_output)
|
163 |
+
|
164 |
|
165 |
demo.launch(enable_queue=True)
|