Spaces:
Runtime error
Runtime error
Update vc.py
Browse files
vc.py
CHANGED
@@ -34,7 +34,7 @@ def load_video_yt(vid):
|
|
34 |
|
35 |
def trim_clip(clip, start_t, end_t):
|
36 |
clip = Path(f"{clip}")
|
37 |
-
song = AudioSegment.from_file(f"{
|
38 |
#song = AudioSegment.from_file(Path(f"{clip}"), format="mp4")
|
39 |
start_min = int(start_t.split(":",1)[0])
|
40 |
start_sec = int(start_t.split(":",1)[1])
|
|
|
34 |
|
35 |
def trim_clip(clip, start_t, end_t):
|
36 |
clip = Path(f"{clip}")
|
37 |
+
song = AudioSegment.from_file(f"{clip}", format="mp4")
|
38 |
#song = AudioSegment.from_file(Path(f"{clip}"), format="mp4")
|
39 |
start_min = int(start_t.split(":",1)[0])
|
40 |
start_sec = int(start_t.split(":",1)[1])
|