Skip to content

Model 3D component not destroyed correctly (cached examples) #1160

@radames

Description

@radames

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Trying to upgrade the PIFu Space project to the latest gradio==2.8b23 however the cached examples via the classical Interface don't seem to be functional well with gr.Model3D as compared to the previous gr.outputs.Image3D
When switching between examples, the Model3D component doesn't clean up the state. I'm guessing this is the related to the component preprocess_example call.

Reproduction

git clone https://huggingface.co/spaces/radames/PIFu-Clothed-Human-Digitization
pip install -r requirements.txt
pip install gradio==2.9b23
python PIFu/spaces.py 

Screenshot

image

image

Logs

No response

System Info

gradio==2.9b23

Severity

annoyance

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions