sudo-soldier commited on
Commit
794376f
·
verified ·
1 Parent(s): 0f01192

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
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="fa fa-music"></i>&nbsp;PYTRR</h1>
78
- <p>Enter a YouTube URL or record your own audio to create a ringtone.</p>
79
  """)
80
 
81
  with gr.Row():
82
  with gr.Column(scale=1, min_width=250):
83
- gr.HTML('<label><i class="fa 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="fa 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,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="fa fa-android"></i>&nbsp;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="fa fa-apple"></i>&nbsp;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,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>&nbsp;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>&nbsp;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>&nbsp;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
+