Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -248,7 +248,7 @@ def process_image_1(image):
|
|
248 |
return out
|
249 |
def improve_quality():
|
250 |
clip1 = VideoFileClip(f"{uid}-clip.mp4")
|
251 |
-
clip = clip1.fl_image(process_image_1)
|
252 |
clip.write_videofile(f"{uid}-clip-high.mp4")
|
253 |
return f"{uid}-clip-high.mp4"
|
254 |
|
|
|
248 |
return out
|
249 |
def improve_quality():
|
250 |
clip1 = VideoFileClip(f"{uid}-clip.mp4")
|
251 |
+
clip = clip1.fl_image(process_image_1).all()
|
252 |
clip.write_videofile(f"{uid}-clip-high.mp4")
|
253 |
return f"{uid}-clip-high.mp4"
|
254 |
|