Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,25 @@ with gr.Blocks() as demo:
|
|
72 |
with gr.Column(elem_id="col-container"):
|
73 |
gr.Markdown("# DimensionX")
|
74 |
gr.Markdown("### Create Any 3D and 4D Scenes from a Single Image with Controllable Video Diffusion")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
with gr.Row():
|
76 |
with gr.Column():
|
77 |
image_in = gr.Image(label="Image Input", type="filepath")
|
@@ -87,6 +106,12 @@ with gr.Blocks() as demo:
|
|
87 |
"An astronaut hatching from an egg, on the surface of the moon, the darkness and depth of space realised in the background.",
|
88 |
"Left",
|
89 |
"./examples/output_astronaut_left.mp4"
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
]
|
91 |
],
|
92 |
inputs=[image_in, prompt, orbit_type, video_out]
|
|
|
72 |
with gr.Column(elem_id="col-container"):
|
73 |
gr.Markdown("# DimensionX")
|
74 |
gr.Markdown("### Create Any 3D and 4D Scenes from a Single Image with Controllable Video Diffusion")
|
75 |
+
gr.HTML("""
|
76 |
+
<div style="display:flex;column-gap:4px;">
|
77 |
+
<a href="https://github.com/wenqsun/DimensionX">
|
78 |
+
<img src='https://img.shields.io/badge/GitHub-Repo-blue'>
|
79 |
+
</a>
|
80 |
+
<a href="https://chenshuo20.github.io/DimensionX/">
|
81 |
+
<img src='https://img.shields.io/badge/Project-Page-green'>
|
82 |
+
</a>
|
83 |
+
<a href="https://arxiv.org/abs/2411.04928">
|
84 |
+
<img src='https://img.shields.io/badge/ArXiv-Paper-red'>
|
85 |
+
</a>
|
86 |
+
<a href="https://huggingface.co/spaces/fffiloni/DimensionX?duplicate=true">
|
87 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-sm.svg" alt="Duplicate this Space">
|
88 |
+
</a>
|
89 |
+
<a href="https://huggingface.co/fffiloni">
|
90 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm-dark.svg" alt="Follow me on HF">
|
91 |
+
</a>
|
92 |
+
</div>
|
93 |
+
""")
|
94 |
with gr.Row():
|
95 |
with gr.Column():
|
96 |
image_in = gr.Image(label="Image Input", type="filepath")
|
|
|
106 |
"An astronaut hatching from an egg, on the surface of the moon, the darkness and depth of space realised in the background.",
|
107 |
"Left",
|
108 |
"./examples/output_astronaut_left.mp4"
|
109 |
+
],
|
110 |
+
[
|
111 |
+
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/astronaut.jpg",
|
112 |
+
"An astronaut hatching from an egg, on the surface of the moon, the darkness and depth of space realised in the background.",
|
113 |
+
"Left",
|
114 |
+
"./examples/output_astronaut_up.mp4"
|
115 |
]
|
116 |
],
|
117 |
inputs=[image_in, prompt, orbit_type, video_out]
|