goryhon commited on
Commit
1a5455f
·
verified ·
1 Parent(s): 764b322

Update web-demos/hugging_face/app.py

Browse files
Files changed (1) hide show
  1. web-demos/hugging_face/app.py +1 -1
web-demos/hugging_face/app.py CHANGED
@@ -111,7 +111,7 @@ def get_frames_from_video(video_input, video_state):
111
 
112
  # initialize video_state
113
  if frames[0].shape[0] > 720 or frames[0].shape[1] > 720:
114
- operation_log = [(f"Video uploaded! Try to click the image shown in step2 to add masks. (You uploaded a video with a size of {original_w}x{original_h}, and the length of its longest edge exceeds 720 pixels. We may resize the input video during processing.)", "Normal")]
115
 
116
  video_state = {
117
  "user_name": user_name,
 
111
 
112
  # initialize video_state
113
  if frames[0].shape[0] > 720 or frames[0].shape[1] > 720:
114
+ operation_log = [(f"Video uploaded! Try to click the image shown in step2 to add masks. (You uploaded a video with a size of {original_w}x{original_h}, and the length of its longest edge exceeds 720 pixels. We may resize the input video during processing.)", "Normal")]
115
 
116
  video_state = {
117
  "user_name": user_name,