Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,11 +80,11 @@ with gr.Blocks(css="""
|
|
80 |
|
81 |
with gr.Row():
|
82 |
with gr.Column(scale=1, min_width=250):
|
83 |
-
gr.HTML('<label><i class="fas fa-link"></i>
|
84 |
-
youtube_url = gr.Textbox(placeholder="
|
85 |
|
86 |
with gr.Column(scale=1, min_width=250):
|
87 |
-
gr.HTML('<label><i class="fas fa-microphone"></i>Record Audio
|
88 |
audio_record = gr.Audio(sources=["microphone"], type="filepath", show_label=False)
|
89 |
|
90 |
with gr.Row():
|
@@ -92,11 +92,11 @@ with gr.Blocks(css="""
|
|
92 |
|
93 |
with gr.Row():
|
94 |
with gr.Column(scale=1, min_width=250):
|
95 |
-
gr.HTML('<label
|
96 |
mp3_download = gr.File(label="MP3")
|
97 |
|
98 |
with gr.Column(scale=1, min_width=250):
|
99 |
-
gr.HTML('<label
|
100 |
iphone_ringtone = gr.File(label="M4R")
|
101 |
|
102 |
process_button.click(process_youtube_or_audio, inputs=[youtube_url, audio_record], outputs=[mp3_download, iphone_ringtone])
|
|
|
80 |
|
81 |
with gr.Row():
|
82 |
with gr.Column(scale=1, min_width=250):
|
83 |
+
gr.HTML('<label><i class="fas fa-link"></i>YouTube URL</label>')
|
84 |
+
youtube_url = gr.Textbox(placeholder="Enter the URL here...", show_label=False)
|
85 |
|
86 |
with gr.Column(scale=1, min_width=250):
|
87 |
+
gr.HTML('<label><i class="fas fa-microphone"></i>Record Audio</label>')
|
88 |
audio_record = gr.Audio(sources=["microphone"], type="filepath", show_label=False)
|
89 |
|
90 |
with gr.Row():
|
|
|
92 |
|
93 |
with gr.Row():
|
94 |
with gr.Column(scale=1, min_width=250):
|
95 |
+
gr.HTML('<label> Android Device</label>')
|
96 |
mp3_download = gr.File(label="MP3")
|
97 |
|
98 |
with gr.Column(scale=1, min_width=250):
|
99 |
+
gr.HTML('<label> Apple iPhone</label>')
|
100 |
iphone_ringtone = gr.File(label="M4R")
|
101 |
|
102 |
process_button.click(process_youtube_or_audio, inputs=[youtube_url, audio_record], outputs=[mp3_download, iphone_ringtone])
|