Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,9 +112,13 @@ with gr.Blocks() as demo:
|
|
| 112 |
fn=process_video_with_mask,
|
| 113 |
inputs=[video_input, mask_input, text_input],
|
| 114 |
outputs=video_output,
|
| 115 |
-
|
|
|
|
|
|
|
|
|
|
| 116 |
["examples/20250511-013442_3331156457.mp4", "examples/20250511-013442_3331156457__temp.mp4_alpha_temp.mp4", "今天天气怎么样?"]
|
| 117 |
-
]
|
|
|
|
| 118 |
)
|
| 119 |
|
| 120 |
if __name__ == "__main__":
|
|
|
|
| 112 |
fn=process_video_with_mask,
|
| 113 |
inputs=[video_input, mask_input, text_input],
|
| 114 |
outputs=video_output,
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
+
gr.Examples(
|
| 118 |
+
[
|
| 119 |
["examples/20250511-013442_3331156457.mp4", "examples/20250511-013442_3331156457__temp.mp4_alpha_temp.mp4", "今天天气怎么样?"]
|
| 120 |
+
],
|
| 121 |
+
[video_input, mask_input, text_input]
|
| 122 |
)
|
| 123 |
|
| 124 |
if __name__ == "__main__":
|