Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -132,25 +132,25 @@ with demo:
|
|
132 |
with gr.Row():
|
133 |
voice = gr.Audio(source="microphone", type="filepath",
|
134 |
optional=True, labe="Start record your voice here.")
|
135 |
-
voice_output = gr.Textbox()
|
136 |
-
text_button1 = gr.Button("
|
137 |
with gr.TabItem("From your file."):
|
138 |
with gr.Row():
|
139 |
file_input = gr.Audio(type="filepath", optional=True, labe="Drop your audio file here.")
|
140 |
-
file_output = gr.Textbox()
|
141 |
-
text_button4 = gr.Button("
|
142 |
with gr.TabItem("From youtube"):
|
143 |
with gr.Row():
|
144 |
youtube_input = gr.Textbox(
|
145 |
label="Insert your youtube link here.", placeholder='https://www.youtube.com/watch?v=dQw4w9WgXcQ')
|
146 |
-
youtube_output = gr.Textbox()
|
147 |
-
text_button2 = gr.Button("
|
148 |
with gr.TabItem("From twitch"):
|
149 |
with gr.Row():
|
150 |
twitch_input = gr.Textbox(label="Insert your twitch link or ID here.",
|
151 |
placeholder='https://www.twitch.tv/videos/1823056925 or 1823056925')
|
152 |
-
twitch_output = gr.Textbox()
|
153 |
-
text_button3 = gr.Button("
|
154 |
|
155 |
text_button1.click(process, inputs=voice, outputs=voice_output)
|
156 |
text_button2.click(youtube_loader, inputs=youtube_input,
|
|
|
132 |
with gr.Row():
|
133 |
voice = gr.Audio(source="microphone", type="filepath",
|
134 |
optional=True, labe="Start record your voice here.")
|
135 |
+
voice_output = gr.Textbox(labe="Your output is here.")
|
136 |
+
text_button1 = gr.Button("Submit")
|
137 |
with gr.TabItem("From your file."):
|
138 |
with gr.Row():
|
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(
|
145 |
label="Insert your youtube link here.", placeholder='https://www.youtube.com/watch?v=dQw4w9WgXcQ')
|
146 |
+
youtube_output = gr.Textbox(labe="Your output is here.")
|
147 |
+
text_button2 = gr.Button("Submit")
|
148 |
with gr.TabItem("From twitch"):
|
149 |
with gr.Row():
|
150 |
twitch_input = gr.Textbox(label="Insert your twitch link or ID here.",
|
151 |
placeholder='https://www.twitch.tv/videos/1823056925 or 1823056925')
|
152 |
+
twitch_output = gr.Textbox(labe="Your output is here.")
|
153 |
+
text_button3 = gr.Button("Submit")
|
154 |
|
155 |
text_button1.click(process, inputs=voice, outputs=voice_output)
|
156 |
text_button2.click(youtube_loader, inputs=youtube_input,
|