Wauplin HF staff commited on
Commit
022edae
1 Parent(s): a3ff256

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md CHANGED
@@ -8,3 +8,37 @@ sdk: docker
8
  pinned: false
9
  license: apache-2.0
10
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  pinned: false
9
  license: apache-2.0
10
  ---
11
+
12
+ Gradio Custom Component to integrate the great [Pannellum](https://pannellum.org/) library, a lightweight, free, and open source panorama viewer for the web.
13
+
14
+ **Installation:**
15
+
16
+ ```
17
+ pip install gradio-pannellum
18
+ ```
19
+
20
+ **Usage:**
21
+
22
+ ```py
23
+
24
+ import gradio as gr
25
+ from gradio_pannellum import Pannellum
26
+
27
+
28
+ example = Pannellum().example_inputs()
29
+
30
+ demo = gr.Interface(
31
+ lambda x:x,
32
+ Pannellum(), # interactive version of your component
33
+ Pannellum(), # static version of your component
34
+ examples=[[example]],
35
+ )
36
+
37
+
38
+ demo.launch()
39
+ ```
40
+
41
+ **Screenshot:**
42
+
43
+ ![](https://huggingface.co/spaces/Wauplin/gradio_pannellum/resolve/main/screenshot.png)
44
+