Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,8 +26,8 @@ def video_demo(video, subtitle, subtitle_language):
|
|
| 26 |
|
| 27 |
with gr.Blocks() as demo:
|
| 28 |
# Header and information
|
| 29 |
-
gr.Markdown("<h1 style='text-align: center;'>Text to SRT Converter</h1>"
|
| 30 |
-
gr.Markdown("<h3 style='text-align: center; color: #FF5733;'>⚠️ Note: The processing can take some time depending on the video length and size.</h3>"
|
| 31 |
|
| 32 |
# Inputs section
|
| 33 |
with gr.Row():
|
|
@@ -58,7 +58,6 @@ with gr.Blocks() as demo:
|
|
| 58 |
.gr-row { justify-content: center; margin-top: 20px; }
|
| 59 |
</style>
|
| 60 |
''',
|
| 61 |
-
unsafe_allow_html=True
|
| 62 |
)
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|
|
|
|
| 26 |
|
| 27 |
with gr.Blocks() as demo:
|
| 28 |
# Header and information
|
| 29 |
+
gr.Markdown("<h1 style='text-align: center;'>Text to SRT Converter</h1>")
|
| 30 |
+
gr.Markdown("<h3 style='text-align: center; color: #FF5733;'>⚠️ Note: The processing can take some time depending on the video length and size.</h3>")
|
| 31 |
|
| 32 |
# Inputs section
|
| 33 |
with gr.Row():
|
|
|
|
| 58 |
.gr-row { justify-content: center; margin-top: 20px; }
|
| 59 |
</style>
|
| 60 |
''',
|
|
|
|
| 61 |
)
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|