fffiloni commited on
Commit
284303a
·
verified ·
1 Parent(s): 80d5220

change video_path output

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -2
gradio_app.py CHANGED
@@ -52,8 +52,8 @@ def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.
52
  api_name="/image_to_video"
53
  )
54
  print(result)
55
-
56
- return temp_image_path, result
57
 
58
  with gr.Blocks() as demo:
59
 
 
52
  api_name="/image_to_video"
53
  )
54
  print(result)
55
+ video_path = result[0]['video']
56
+ return temp_image_path, video_path
57
 
58
  with gr.Blocks() as demo:
59