Spaces:
Running
Running
change video_path output
Browse files- 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,
|
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 |
|