donghuna commited on
Commit
415dae8
·
verified ·
1 Parent(s): 35909fb

Update handler.py

Browse files

return {"ftp_password": ftp_password}

Files changed (1) hide show
  1. 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