Spaces:
Sleeping
Sleeping
Update Milestone5API.py
Browse files- Milestone5API.py +0 -1
Milestone5API.py
CHANGED
|
@@ -37,7 +37,6 @@ def replace_video_audio(video_file_path, new_audio_file_path, output_video_file_
|
|
| 37 |
|
| 38 |
try:
|
| 39 |
video.write_videofile(output_video_file_path, codec="libx264", audio_codec="aac", remove_temp=True)
|
| 40 |
-
add_text_to_video(output_video_file_path, new_video_path, translated_text)
|
| 41 |
print("Video file written successfully.")
|
| 42 |
except Exception as e:
|
| 43 |
print("Error writing video file:", e)
|
|
|
|
| 37 |
|
| 38 |
try:
|
| 39 |
video.write_videofile(output_video_file_path, codec="libx264", audio_codec="aac", remove_temp=True)
|
|
|
|
| 40 |
print("Video file written successfully.")
|
| 41 |
except Exception as e:
|
| 42 |
print("Error writing video file:", e)
|