fffiloni commited on
Commit
7c60508
1 Parent(s): 91c5ebc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -173,10 +173,16 @@ def infer(video_in):
173
 
174
  return video_description_from_llm
175
 
176
- with gr.Blocks() as demo :
 
 
 
 
 
 
177
  with gr.Column(elem_id="col-container"):
178
  gr.HTML("""
179
- <h2 style="text-align: center;">Video description</h2>
180
  """)
181
  video_in = gr.Video(label="Video input")
182
  submit_btn = gr.Button("Submit")
 
173
 
174
  return video_description_from_llm
175
 
176
+ css = """
177
+ div#col-container{
178
+ margin: 0 auto;
179
+ max-width: 720px;
180
+ }
181
+ """
182
+ with gr.Blocks(css=css) as demo :
183
  with gr.Column(elem_id="col-container"):
184
  gr.HTML("""
185
+ <h2 style="text-align: center;">Soft video understanding</h2>
186
  """)
187
  video_in = gr.Video(label="Video input")
188
  submit_btn = gr.Button("Submit")