Skip to content

Loading Private Spaces via gr.Interface.load() doesn't work for certain components #2601

@abidlabs

Description

@abidlabs

Describe the bug

As part of reviewing #2594, we noticed that if you gr.Interface.load() a Private Space (even if you provide an API token), it does't work for certain components, specifically:

  • Model3D component doesn't show up correctly in the input
  • Dataframe component preview doesn't show up in the Dataset

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

import gradio as gr

gr.Interface.load("spaces/gradio/test-loading-examples-private").launch()

Screenshot

No response

Logs

CORS stuff in the js console

System Info

3.8

Severity

annoying

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions