Spaces:
Runtime error
Runtime error
Update app.py
Browse files555 unmodified lines556557558559560561562563564565566555 unmodified lines## Image to 3D Asset with [TRELLIS.2](https://microsoft.github.io/TRELLIS.2)* Upload an image (preferably with an alpha-masked foreground object) and click Generate to create a 3D asset.* Click Extract GLB to export and download the generated GLB file if you're satisfied with the result. Otherwise, try another time.""")with gr.Row():with gr.Column(scale=1, min_width=360):image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", height=400)resolution = gr.Radio(["512", "1024", "1536"], label="Resolution", value="1024")seed = gr.Slider(0, MAX_SEED, label="Seed", value=0, step=1)555 unmodified lines556557558559560561562563564565566567568555 unmodified lines## Image to 3D Asset with [TRELLIS.2](https://microsoft.github.io/TRELLIS.2)* Upload an image (preferably with an alpha-masked foreground object) and click Generate to create a 3D asset.* Click Extract GLB to export and download the generated GLB file if you're satisfied with the result. Otherwise, try another time.* *Note: Uploaded images are temporarily cached on Hugging Face server and permanently deleted after session ends.Microsoft does not access or retain any user data. Users are advised against uploading data containing sensitive or private information.*""")with gr.Row():with gr.Column(scale=1, min_width=360):image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", sources=["upload", "clipboard"], height=400)resolution = gr.Radio(["512", "1024", "1536"], label="Resolution", value="1024")seed = gr.Slider(0, MAX_SEED, label="Seed", value=0, step=1)
app.py+3-1