File size: 813 Bytes
9b157c1
6128668
9b157c1
 
 
6128668
 
 
9b157c1
6128668
022edae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

---
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:**

![](https://huggingface.co/spaces/Wauplin/gradio_pannellum/resolve/main/screenshot.png)