Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ def check_load(inp_url,outp_vid,hid_box,start_f,end_f):
|
|
244 |
#outp_vid.change(echo_fn,outp_vid,[out_trim])
|
245 |
def process_image_1(image):
|
246 |
#print(image)
|
247 |
-
|
248 |
cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
|
249 |
#image = f"{rand_im}-vid_tmp_proc.png"
|
250 |
#image=Image.fromarray(image)
|
|
|
244 |
#outp_vid.change(echo_fn,outp_vid,[out_trim])
|
245 |
def process_image_1(image):
|
246 |
#print(image)
|
247 |
+
rand_im = uuid.uuid4()
|
248 |
cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
|
249 |
#image = f"{rand_im}-vid_tmp_proc.png"
|
250 |
#image=Image.fromarray(image)
|