Spaces:
Running
Running
Update app_pages/video_hashid_generation.py
Browse files
app_pages/video_hashid_generation.py
CHANGED
|
@@ -14,7 +14,7 @@ def render_video_hashid(uid: str):
|
|
| 14 |
generate_clicked = st.button(
|
| 15 |
"Generate Augmented Video",
|
| 16 |
type="primary",
|
| 17 |
-
|
| 18 |
disabled=uploaded_file is None
|
| 19 |
)
|
| 20 |
|
|
@@ -54,15 +54,6 @@ def render_video_hashid(uid: str):
|
|
| 54 |
data=open(result["output_path"], "rb").read(),
|
| 55 |
file_name=result["output_name"],
|
| 56 |
mime="video/mp4",
|
| 57 |
-
|
| 58 |
)
|
| 59 |
|
| 60 |
-
|
| 61 |
-
# insert_video_hashid_result(
|
| 62 |
-
# video_name=uploaded_file.name,
|
| 63 |
-
# output_r2_url=result["output_r2_url"],
|
| 64 |
-
# output_hashid=result["output_hashid"],
|
| 65 |
-
# input_hashid=result["input_hashid"],
|
| 66 |
-
# thumbnail=result["thumbnail"],
|
| 67 |
-
# created_by=uid,
|
| 68 |
-
# )
|
|
|
|
| 14 |
generate_clicked = st.button(
|
| 15 |
"Generate Augmented Video",
|
| 16 |
type="primary",
|
| 17 |
+
width='stretch',
|
| 18 |
disabled=uploaded_file is None
|
| 19 |
)
|
| 20 |
|
|
|
|
| 54 |
data=open(result["output_path"], "rb").read(),
|
| 55 |
file_name=result["output_name"],
|
| 56 |
mime="video/mp4",
|
| 57 |
+
width='stretch'
|
| 58 |
)
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|