NeuralFalcon commited on
Commit
b1563fc
·
verified ·
1 Parent(s): 8b49f6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -18,10 +18,16 @@ def update_target_lang(selected_src):
18
 
19
  def ui1():
20
  with gr.Blocks() as demo:
21
- gr.Markdown("<center><h1 style='font-size: 32px;'>🎬 Auto Subtitle Generator</h1></center>")
22
- gr.Markdown("**Note**: If you have a large video, upload the audio instead, it's much faster to upload.")
23
-
24
-
 
 
 
 
 
 
25
  with gr.Row():
26
  with gr.Column():
27
  upload_media = gr.File(label="Upload Audio or Video File")
 
18
 
19
  def ui1():
20
  with gr.Blocks() as demo:
21
+ # gr.Markdown("<center><h1 style='font-size: 32px;'>🎬 Auto Subtitle Generator</h1></center>")
22
+ # gr.Markdown("**Note**: If you have a large video, upload the audio instead, it's much faster to upload.")
23
+
24
+ gr.HTML("""
25
+ <div style="text-align: center; margin: 20px auto; max-width: 800px;">
26
+ <h1 style="font-size: 2.5em; margin-bottom: 10px;">🎬 Auto Subtitle Generator</h1>
27
+ <p style="font-size: 1.2em; color: #555; margin-bottom: 15px;">If you have a large video, upload the audio instead, it's much faster to upload.</p>
28
+ <a href="https://github.com/NeuralFalconYT/Auto-Subtitle-Generator-Free" target="_blank" style="display: inline-block; padding: 10px 20px; background-color: #4285F4; color: white; border-radius: 6px; text-decoration: none; font-size: 1em;">😇 Run on Google Colab</a>
29
+ </div>
30
+ """)
31
  with gr.Row():
32
  with gr.Column():
33
  upload_media = gr.File(label="Upload Audio or Video File")