Spaces:
Build error
Build error
path
Browse files
app.py
CHANGED
@@ -317,7 +317,8 @@ with gr.Blocks() as app:
|
|
317 |
gr.Markdown("1. We provide two APIs: Image-conditioned generation and Text-conditioned generation")
|
318 |
gr.Markdown("2. Note that the Image-conditioned model is trained on multiple 3D datasets like ShapeNet and Objaverse")
|
319 |
gr.Markdown("3. We provide some examples for you to try. You can also upload images or text as input.")
|
320 |
-
gr.Markdown("4.
|
|
|
321 |
|
322 |
with gr.Row():
|
323 |
with gr.Column():
|
@@ -369,7 +370,6 @@ with gr.Blocks() as app:
|
|
369 |
img.upload(disable_cache, outputs=cache_dir)
|
370 |
examples.select(set_cache, outputs=[img, cache_dir])
|
371 |
print(os.path.abspath(os.path.dirname(__file__)), flush=True)
|
372 |
-
model_path = snapshot_download(repo_id="Maikou/Michelangelo")
|
373 |
print(model_path, flush=True)
|
374 |
print(f'line:404: {cache_dir}', flush=True)
|
375 |
btn_generate_img2obj.click(image2mesh, inputs=[img, image_dropdown_models, num_samples,
|
|
|
317 |
gr.Markdown("1. We provide two APIs: Image-conditioned generation and Text-conditioned generation")
|
318 |
gr.Markdown("2. Note that the Image-conditioned model is trained on multiple 3D datasets like ShapeNet and Objaverse")
|
319 |
gr.Markdown("3. We provide some examples for you to try. You can also upload images or text as input.")
|
320 |
+
gr.Markdown("4. To make it convenient to take favor results home, we provide download buttons for each OBJ file and a combined HTML file.")
|
321 |
+
gr.Markdown("5. Welcome to share suggestions or amazing results with us, and thanks for your interest in our work!")
|
322 |
|
323 |
with gr.Row():
|
324 |
with gr.Column():
|
|
|
370 |
img.upload(disable_cache, outputs=cache_dir)
|
371 |
examples.select(set_cache, outputs=[img, cache_dir])
|
372 |
print(os.path.abspath(os.path.dirname(__file__)), flush=True)
|
|
|
373 |
print(model_path, flush=True)
|
374 |
print(f'line:404: {cache_dir}', flush=True)
|
375 |
btn_generate_img2obj.click(image2mesh, inputs=[img, image_dropdown_models, num_samples,
|