Update app.py
Browse files17 unmodified lines1819202122232425262717 unmodified linesdef ui1():with gr.Blocks() as demo:gr.Markdown("<center><h1 style='font-size: 32px;'>🎬 Auto Subtitle Generator</h1></center>")gr.Markdown("**Note**: If you have a large video, upload the audio instead, it's much faster to upload.")with gr.Row():with gr.Column():upload_media = gr.File(label="Upload Audio or Video File")17 unmodified lines1819202122232425262728293031323317 unmodified linesdef ui1():with gr.Blocks() as demo:# gr.Markdown("<center><h1 style='font-size: 32px;'>🎬 Auto Subtitle Generator</h1></center>")# gr.Markdown("**Note**: If you have a large video, upload the audio instead, it's much faster to upload.")gr.HTML("""<div style="text-align: center; margin: 20px auto; max-width: 800px;"><h1 style="font-size: 2.5em; margin-bottom: 10px;">🎬 Auto Subtitle Generator</h1><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><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></div>""")with gr.Row():with gr.Column():upload_media = gr.File(label="Upload Audio or Video File")
app.py+10-4