Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -68,11 +68,11 @@ def convert_subtitles(uploaded_file_path, dest_format):
|
|
68 |
return "", "No file uploaded."
|
69 |
|
70 |
def main():
|
71 |
-
# Create the Gradio Blocks interface with a page title for
|
72 |
-
with gr.Blocks(
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
/* Global background and font settings */
|
77 |
body {
|
78 |
background-color: #f7f7f7;
|
@@ -96,8 +96,9 @@ def main():
|
|
96 |
#convert-btn:hover {
|
97 |
background-color: #0056b3;
|
98 |
}
|
99 |
-
"""
|
100 |
-
|
|
|
101 |
# Add SEO information, application description, and usage instructions
|
102 |
with gr.Row():
|
103 |
with gr.Column():
|
|
|
68 |
return "", "No file uploaded."
|
69 |
|
70 |
def main():
|
71 |
+
# Create the Gradio Blocks interface with a page title and custom CSS for better UI appearance.
|
72 |
+
with gr.Blocks(
|
73 |
+
analytics_enabled=False,
|
74 |
+
title="Free Online Subtitle Converter - Convert SRT, VTT, ASS, SSA Subtitles Easily",
|
75 |
+
css="""
|
76 |
/* Global background and font settings */
|
77 |
body {
|
78 |
background-color: #f7f7f7;
|
|
|
96 |
#convert-btn:hover {
|
97 |
background-color: #0056b3;
|
98 |
}
|
99 |
+
"""
|
100 |
+
) as demo:
|
101 |
+
|
102 |
# Add SEO information, application description, and usage instructions
|
103 |
with gr.Row():
|
104 |
with gr.Column():
|