userIdc2024 commited on
Commit
294c4f0
·
verified ·
1 Parent(s): 359bea6

Update app_pages/video_translator.py

Browse files
Files changed (1) hide show
  1. app_pages/video_translator.py +2 -2
app_pages/video_translator.py CHANGED
@@ -202,7 +202,7 @@ def render_video_translator(uid: str):
202
  translate_clicked = st.button(
203
  "Translate Video",
204
  type="primary",
205
- use_container_width=True,
206
  disabled=uploaded_file is None
207
  )
208
 
@@ -267,7 +267,7 @@ def render_video_translator(uid: str):
267
  data=open(translated_path, "rb").read(),
268
  file_name=f"translated_{uploaded_file.name}",
269
  mime="video/mp4",
270
- use_container_width=True
271
  )
272
 
273
  except Exception as e:
 
202
  translate_clicked = st.button(
203
  "Translate Video",
204
  type="primary",
205
+ width='stretch',
206
  disabled=uploaded_file is None
207
  )
208
 
 
267
  data=open(translated_path, "rb").read(),
268
  file_name=f"translated_{uploaded_file.name}",
269
  mime="video/mp4",
270
+ width='stretch'
271
  )
272
 
273
  except Exception as e: