Spaces:
Runtime error
Runtime error
| tags: [gradio-custom-component, gradio-template-Image] | |
| title: gradio_pannellum V0.0.1 | |
| colorFrom: indigo | |
| colorTo: pink | |
| sdk: docker | |
| pinned: false | |
| license: apache-2.0 | |
| Gradio Custom Component to integrate the great [Pannellum](https://pannellum.org/) library, a lightweight, free, and open source panorama viewer for the web. | |
| **Installation:** | |
| ``` | |
| pip install gradio-pannellum | |
| ``` | |
| **Usage:** | |
| ```py | |
| import gradio as gr | |
| from gradio_pannellum import Pannellum | |
| example = Pannellum().example_inputs() | |
| demo = gr.Interface( | |
| lambda x:x, | |
| Pannellum(), # interactive version of your component | |
| Pannellum(), # static version of your component | |
| examples=[[example]], | |
| ) | |
| demo.launch() | |
| ``` | |
| **Screenshot:** | |
|  | |