multimodalart HF Staff commited on
Commit
6dd2909
·
verified ·
1 Parent(s): 596ce81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -111,8 +111,6 @@ def create_video_transition(
111
  raise gr.Error("Both input and output images are required for video creation.")
112
 
113
  try:
114
- yield gr.update(visible=True, value=None)
115
-
116
  video_client = Client("multimodalart/wan-2-2-first-last-frame", hf_token=oauth_token.token)
117
 
118
  input_image_path = input_image_gallery[0][0]
@@ -123,7 +121,7 @@ def create_video_transition(
123
  prompt="Smooth transition between the two images",
124
  api_name="/generate_video"
125
  )
126
-
127
  return result
128
 
129
  except Exception as e:
 
111
  raise gr.Error("Both input and output images are required for video creation.")
112
 
113
  try:
 
 
114
  video_client = Client("multimodalart/wan-2-2-first-last-frame", hf_token=oauth_token.token)
115
 
116
  input_image_path = input_image_gallery[0][0]
 
121
  prompt="Smooth transition between the two images",
122
  api_name="/generate_video"
123
  )
124
+ print(result)
125
  return result
126
 
127
  except Exception as e: