Spaces:
Runtime error
Runtime error
Jeril commited on
Commit ·
06c292f
1
Parent(s): d67b1c9
some fixes
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def cut_video(video, start_time, end_time):
|
|
| 13 |
raise gr.Error("End time must be greater than start time")
|
| 14 |
|
| 15 |
input_file = video
|
| 16 |
-
output_file = "media/
|
| 17 |
|
| 18 |
os.makedirs(os.path.dirname(output_file), exist_ok=True)
|
| 19 |
|
|
|
|
| 13 |
raise gr.Error("End time must be greater than start time")
|
| 14 |
|
| 15 |
input_file = video
|
| 16 |
+
output_file = "media/output.mp4"
|
| 17 |
|
| 18 |
os.makedirs(os.path.dirname(output_file), exist_ok=True)
|
| 19 |
|