Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,12 +72,15 @@ with gr.Blocks(css="""
|
|
72 |
}
|
73 |
""") as interface:
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
81 |
|
82 |
with gr.Row():
|
83 |
with gr.Column(scale=1, min_width=250):
|
@@ -100,11 +103,8 @@ with gr.Blocks(css="""
|
|
100 |
with gr.Column(scale=1, min_width=250):
|
101 |
gr.HTML('<label> iPhone Ringtone</label>')
|
102 |
iphone_ringtone = gr.File(label="Apple")
|
103 |
-
iphone_instructions = gr.Textbox(label="install", placeholder="
|
104 |
|
105 |
process_button.click(process_youtube_or_audio, inputs=[youtube_url, audio_record], outputs=[mp3_download, iphone_ringtone])
|
106 |
|
107 |
interface.launch(share=True)
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
72 |
}
|
73 |
""") as interface:
|
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>Python YouTube Ringtones. Enter a YouTube URL or record audio to create ringtones.</p>
|
79 |
+
<p>
|
80 |
+
<a href="https://ringtone.JesseJesse.xyz" target="_blank">ringtone.JesseJesse.xyz</a> |
|
81 |
+
<a href="https://sudo-self.github.io/pytr/" target="_blank">GitHub</a>
|
82 |
+
</p>
|
83 |
+
""")
|
84 |
|
85 |
with gr.Row():
|
86 |
with gr.Column(scale=1, min_width=250):
|
|
|
103 |
with gr.Column(scale=1, min_width=250):
|
104 |
gr.HTML('<label> iPhone Ringtone</label>')
|
105 |
iphone_ringtone = gr.File(label="Apple")
|
106 |
+
iphone_instructions = gr.Textbox(label="install", placeholder="Swipe left and open the Garage Band App. Then long-press on the Ringtone file, select share, choose ringtone, and click export to complete the import.", lines=2)
|
107 |
|
108 |
process_button.click(process_youtube_or_audio, inputs=[youtube_url, audio_record], outputs=[mp3_download, iphone_ringtone])
|
109 |
|
110 |
interface.launch(share=True)
|
|
|
|
|
|