Lenylvt commited on
Commit
0121f2d
1 Parent(s): 2cc7c9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -101,7 +101,12 @@ def add_subtitle_to_video(input_video, subtitle_file, subtitle_language, soft_su
101
  return output_video
102
 
103
  # Initialisation de Gradio Blocks
104
- with gr.Blocks(title="Video Subtitle Creation API", description="For web use please visit [this space](https://huggingface.co/spaces/Lenylvt/VideoSubtitleCreation)") as blocks_app:
 
 
 
 
 
105
  with gr.Row():
106
  video_file = gr.Video(label="Upload Video")
107
  source_language_dropdown = gr.Dropdown(choices=language_options, label="Source Language", value="en")
 
101
  return output_video
102
 
103
  # Initialisation de Gradio Blocks
104
+ with gr.Blocks() as blocks_app:
105
+ gr.Markdown(
106
+ """
107
+ # Video Subtitle Creation API
108
+ For web use please visit [this space](https://huggingface.co/spaces/Lenylvt/VideoSubtitleCreation)
109
+ """)
110
  with gr.Row():
111
  video_file = gr.Video(label="Upload Video")
112
  source_language_dropdown = gr.Dropdown(choices=language_options, label="Source Language", value="en")