sudo-soldier commited on
Commit
e7c74c6
·
verified ·
1 Parent(s): 8b9a8c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -62,19 +62,19 @@ def process_youtube_or_audio(url, uploaded_audio, start_time, end_time):
62
  print(f"Error: {e}")
63
  return None, None
64
 
 
65
  with gr.Blocks() as interface:
66
  gr.HTML("""
67
  <h1><i class="fas fa-music"></i>&nbsp;PYTR - Python YouTube Ringtones</h1>
68
  <p>Enter a YouTube URL or upload an audio file to create ringtones.</p>
69
- <p><a href="https://ringtones.jessejesse.xyz"></a>Ringtones<p>
70
- <p><a href="https://github.com/sudo-self/pytr"></a>Github<p>
71
  """)
72
-
73
  with gr.Row():
74
  youtube_url = gr.Textbox(placeholder="Enter the URL here...", label="YouTube URL")
75
  uploaded_audio = gr.File(label="Upload Audio File", type="filepath")
76
 
77
-
78
  with gr.Row():
79
  instructions = gr.Textbox(
80
  value="Android: move the download to the 'Ringtones' folder.\nApple: import download with 'Garage Band' and export to ringtones.",
@@ -98,3 +98,4 @@ with gr.Blocks() as interface:
98
  interface.launch(share=True)
99
 
100
 
 
 
62
  print(f"Error: {e}")
63
  return None, None
64
 
65
+ # Gradio Interface
66
  with gr.Blocks() as interface:
67
  gr.HTML("""
68
  <h1><i class="fas fa-music"></i>&nbsp;PYTR - Python YouTube Ringtones</h1>
69
  <p>Enter a YouTube URL or upload an audio file to create ringtones.</p>
70
+ <p><a href="https://ringtones.jessejesse.xyz">Ringtones</a></p>
71
+ <p><a href="https://github.com/sudo-self/pytr">GitHub</a></p>
72
  """)
73
+
74
  with gr.Row():
75
  youtube_url = gr.Textbox(placeholder="Enter the URL here...", label="YouTube URL")
76
  uploaded_audio = gr.File(label="Upload Audio File", type="filepath")
77
 
 
78
  with gr.Row():
79
  instructions = gr.Textbox(
80
  value="Android: move the download to the 'Ringtones' folder.\nApple: import download with 'Garage Band' and export to ringtones.",
 
98
  interface.launch(share=True)
99
 
100
 
101
+