Spaces:
Running
Running
Update app_pages/video_translator.py
Browse files
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 |
-
|
| 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 |
-
|
| 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:
|