Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,17 +74,17 @@ with gr.Blocks(css="""
|
|
| 74 |
|
| 75 |
gr.HTML("""
|
| 76 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
| 77 |
-
<h1><i class="
|
| 78 |
-
<p>
|
| 79 |
""")
|
| 80 |
|
| 81 |
with gr.Row():
|
| 82 |
with gr.Column(scale=1, min_width=250):
|
| 83 |
-
gr.HTML('<label><i class="
|
| 84 |
youtube_url = gr.Textbox(placeholder="Paste link here...", show_label=False)
|
| 85 |
|
| 86 |
with gr.Column(scale=1, min_width=250):
|
| 87 |
-
gr.HTML('<label><i class="
|
| 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><i class="
|
| 96 |
mp3_download = gr.File(label="MP3")
|
| 97 |
|
| 98 |
with gr.Column(scale=1, min_width=250):
|
| 99 |
-
gr.HTML('<label><i class="
|
| 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])
|
|
@@ -104,3 +104,4 @@ with gr.Blocks(css="""
|
|
| 104 |
interface.launch(share=True)
|
| 105 |
|
| 106 |
|
|
|
|
|
|
| 74 |
|
| 75 |
gr.HTML("""
|
| 76 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
| 77 |
+
<h1><i class="fas fa-music"></i> PYTR</h1>
|
| 78 |
+
<p>ringtones.JesseJesse.xyz</p>
|
| 79 |
""")
|
| 80 |
|
| 81 |
with gr.Row():
|
| 82 |
with gr.Column(scale=1, min_width=250):
|
| 83 |
+
gr.HTML('<label><i class="fas fa-link"></i>Add YouTube URL</label>')
|
| 84 |
youtube_url = gr.Textbox(placeholder="Paste link 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 Ringtone</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><i class="fas fa-android"></i> Android Ringtone</label>')
|
| 96 |
mp3_download = gr.File(label="MP3")
|
| 97 |
|
| 98 |
with gr.Column(scale=1, min_width=250):
|
| 99 |
+
gr.HTML('<label><i class="fas fa-apple"></i> iPhone Ringtone</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])
|
|
|
|
| 104 |
interface.launch(share=True)
|
| 105 |
|
| 106 |
|
| 107 |
+
|