Update app.py
Browse files
app.py
CHANGED
@@ -217,8 +217,22 @@ examples = [os.path.join(example_folder, f) for f in os.listdir(example_folder)
|
|
217 |
|
218 |
with gr.Blocks() as demo:
|
219 |
with gr.Row():
|
220 |
-
|
221 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
img_input = gr.Image(type="pil", label="Input Image")
|
223 |
examples_component = gr.Examples(examples=examples, inputs=img_input, outputs=None, examples_per_page=3)
|
224 |
generate_mesh_button = gr.Button("Generate and Download Mesh")
|
|
|
217 |
|
218 |
with gr.Blocks() as demo:
|
219 |
with gr.Row():
|
220 |
+
|
221 |
with gr.Column():
|
222 |
+
gr.Markdown("""
|
223 |
+
# Welcome to [VFusion3D](https://junlinhan.github.io/projects/vfusion3d.html) Demo
|
224 |
+
|
225 |
+
This demo allows you to upload an image and generate a 3D model or rendered videos from it.
|
226 |
+
|
227 |
+
## How to Use:
|
228 |
+
1. Click on "Click to Upload" to upload an image, or choose one example image.
|
229 |
+
2: Choose between "Generate and Download Mesh" or "Generate and Download Video", then click it.
|
230 |
+
3. Wait for the model to process; meshes should take approximately 10 seconds, and videos will take approximately 30 seconds.
|
231 |
+
4. Download the generated mesh or video.
|
232 |
+
|
233 |
+
This demo does not aim to provide optimal results but rather to provide a quick look. See our [GitHub](https://github.com/facebookresearch/vfusion3d) for more.
|
234 |
+
|
235 |
+
""")
|
236 |
img_input = gr.Image(type="pil", label="Input Image")
|
237 |
examples_component = gr.Examples(examples=examples, inputs=img_input, outputs=None, examples_per_page=3)
|
238 |
generate_mesh_button = gr.Button("Generate and Download Mesh")
|