Spaces:
Running
on
Zero
Running
on
Zero
add description
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ if __name__ == "__main__":
|
|
135 |
['results/dolly_zoom/source.mp4','A firefighter standing in front of a burning forest captured with a dolly zoom.','camera','dolly_zoom/checkpoint'],
|
136 |
['results/orbit_shot/source.mp4','A micro graden with orbit shot','camera','orbit_shot/checkpoint'],
|
137 |
|
138 |
-
['results/walk/source.mp4', 'A elephant walking in desert', 'object', 'walk/checkpoint'],
|
139 |
['results/santa_dance/source.mp4','A skeleton in suit is dancing with his hands','object','santa_dance/checkpoint'],
|
140 |
['results/car_turn/source.mp4','A toy train chugs around a roundabout tree','object','car_turn/checkpoint'],
|
141 |
['results/train_ride/source.mp4','A motorbike driving in a forest','object','train_ride/checkpoint'],
|
@@ -186,6 +186,7 @@ if __name__ == "__main__":
|
|
186 |
</script>
|
187 |
""",
|
188 |
) as demo:
|
|
|
189 |
gr.Markdown(
|
190 |
"""
|
191 |
# Motion Inversion for Video Customization
|
@@ -225,5 +226,10 @@ if __name__ == "__main__":
|
|
225 |
checkpoint_dropdown.change(fn=update_preview_video, inputs=checkpoint_dropdown, outputs=preview_video)
|
226 |
inference_button.click(inference_model, inputs=[text_input, checkpoint_dropdown,inference_steps,motion_type, seed], outputs=output_video)
|
227 |
output_video.change(fn=update_generated_prompt, inputs=[text_input], outputs=generated_prompt)
|
228 |
-
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
135 |
['results/dolly_zoom/source.mp4','A firefighter standing in front of a burning forest captured with a dolly zoom.','camera','dolly_zoom/checkpoint'],
|
136 |
['results/orbit_shot/source.mp4','A micro graden with orbit shot','camera','orbit_shot/checkpoint'],
|
137 |
|
138 |
+
# ['results/walk/source.mp4', 'A elephant walking in desert', 'object', 'walk/checkpoint'],
|
139 |
['results/santa_dance/source.mp4','A skeleton in suit is dancing with his hands','object','santa_dance/checkpoint'],
|
140 |
['results/car_turn/source.mp4','A toy train chugs around a roundabout tree','object','car_turn/checkpoint'],
|
141 |
['results/train_ride/source.mp4','A motorbike driving in a forest','object','train_ride/checkpoint'],
|
|
|
186 |
</script>
|
187 |
""",
|
188 |
) as demo:
|
189 |
+
|
190 |
gr.Markdown(
|
191 |
"""
|
192 |
# Motion Inversion for Video Customization
|
|
|
226 |
checkpoint_dropdown.change(fn=update_preview_video, inputs=checkpoint_dropdown, outputs=preview_video)
|
227 |
inference_button.click(inference_model, inputs=[text_input, checkpoint_dropdown,inference_steps,motion_type, seed], outputs=output_video)
|
228 |
output_video.change(fn=update_generated_prompt, inputs=[text_input], outputs=generated_prompt)
|
229 |
+
|
230 |
+
demo.queue(
|
231 |
+
api_open=False,
|
232 |
+
).launch(
|
233 |
+
server_name="0.0.0.0",
|
234 |
+
server_port=7860,
|
235 |
+
)
|