Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,8 @@ def process_video():
|
|
180 |
|
181 |
video_url = request.json['videoUrl']
|
182 |
temp_video_path = None
|
183 |
-
|
|
|
184 |
try:
|
185 |
# Step 1: Download the MP4 file from the provided URL
|
186 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".mp4") as temp_video_file:
|
|
|
180 |
|
181 |
video_url = request.json['videoUrl']
|
182 |
temp_video_path = None
|
183 |
+
temp_wav_path = None
|
184 |
+
|
185 |
try:
|
186 |
# Step 1: Download the MP4 file from the provided URL
|
187 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".mp4") as temp_video_file:
|