Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,8 +105,6 @@ if st.button("🚀 Generate Video"):
|
|
105 |
# Chuyển đổi định dạng âm thanh
|
106 |
convert_audio_format(OUTPUT_VIDEO_PATH, OUTPUT_VIDEO_FIXED_PATH)
|
107 |
|
108 |
-
st.video(OUTPUT_VIDEO_FIXED_PATH) # Trình chiếu video
|
109 |
-
|
110 |
# Tạo link tải về
|
111 |
with open(OUTPUT_VIDEO_FIXED_PATH, "rb") as video_file:
|
112 |
st.download_button(label="📥 Download Video", data=video_file, file_name="final_output_fixed.mp4", mime="video/mp4")
|
|
|
105 |
# Chuyển đổi định dạng âm thanh
|
106 |
convert_audio_format(OUTPUT_VIDEO_PATH, OUTPUT_VIDEO_FIXED_PATH)
|
107 |
|
|
|
|
|
108 |
# Tạo link tải về
|
109 |
with open(OUTPUT_VIDEO_FIXED_PATH, "rb") as video_file:
|
110 |
st.download_button(label="📥 Download Video", data=video_file, file_name="final_output_fixed.mp4", mime="video/mp4")
|