Update handler.py
Browse filesreturn {"ftp_password": ftp_password}
- handler.py +2 -2
handler.py
CHANGED
@@ -33,9 +33,9 @@ class EndpointHandler:
|
|
33 |
video_path = inputs.get("video_path", "")
|
34 |
|
35 |
|
36 |
-
return {"video_path": video_path}
|
37 |
-
ftp_password = inputs.get("ftp_password", "")
|
38 |
|
|
|
|
|
39 |
processed_frames = read_video(video_path, ftp_password)
|
40 |
|
41 |
|
|
|
33 |
video_path = inputs.get("video_path", "")
|
34 |
|
35 |
|
|
|
|
|
36 |
|
37 |
+
ftp_password = inputs.get("ftp_password", "")
|
38 |
+
return {"ftp_password": ftp_password}
|
39 |
processed_frames = read_video(video_path, ftp_password)
|
40 |
|
41 |
|