userIdc2024 commited on
Commit
e111ebd
·
verified ·
1 Parent(s): b3a3afc

Update app_pages/video_caption.py

Browse files
Files changed (1) hide show
  1. app_pages/video_caption.py +2 -2
app_pages/video_caption.py CHANGED
@@ -34,7 +34,7 @@ def render_video_caption(uid: str = "guest"):
34
  generate_clicked = st.button(
35
  " Generate Captions",
36
  type="primary",
37
- use_container_width=True,
38
  disabled=uploaded_file is None
39
  )
40
 
@@ -110,7 +110,7 @@ def render_video_caption(uid: str = "guest"):
110
  data=open(captioned_path, "rb").read(),
111
  file_name=f"captioned_{uploaded_file.name}",
112
  mime="video/mp4",
113
- use_container_width=True
114
  )
115
 
116
  except Exception as e:
 
34
  generate_clicked = st.button(
35
  " Generate Captions",
36
  type="primary",
37
+ width='stretch',
38
  disabled=uploaded_file is None
39
  )
40
 
 
110
  data=open(captioned_path, "rb").read(),
111
  file_name=f"captioned_{uploaded_file.name}",
112
  mime="video/mp4",
113
+ width='stretch'
114
  )
115
 
116
  except Exception as e: