Junyi42 commited on
Commit
419c06e
·
1 Parent(s): e8a54e0
Files changed (1) hide show
  1. README.md +28 -6
README.md CHANGED
@@ -1,12 +1,34 @@
1
  ---
2
  title: Viser Cows
3
- emoji: 🐢
4
- colorFrom: pink
5
  colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.25.2
8
- app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Viser Cows
3
+ emoji:
4
+ colorFrom: blue
5
  colorTo: pink
6
+ sdk: docker
7
+ app_port: 7860
 
8
  pinned: false
9
  ---
10
 
11
+ # Viser + Gradio
12
+
13
+ Demo for integrating [viser](https://github.com/nerfstudio-project/viser) 3D
14
+ visualizations into a [Gradio](https://www.gradio.app/) application.
15
+
16
+ - Uses Gradio's session management to create isolated 3D visualization contexts.
17
+ - Exposes both Gradio and Viser over the same port.
18
+
19
+ ## Deploying on HuggingFace Spaces
20
+
21
+ **[ [Live example](https://huggingface.co/spaces/brentyi/viser-gradio-embed) ]**
22
+
23
+ This repository should work out-of-the-box with HF Spaces via Docker.
24
+
25
+ - Unlike a vanilla Gradio Space, this is unfortunately not supported by [ZeroGPU](https://huggingface.co/docs/hub/en/spaces-zerogpu).
26
+
27
+ ## Local Demo
28
+
29
+ ```bash
30
+ pip install -r requirements.txt
31
+ python app.py
32
+ ```
33
+
34
+ https://github.com/user-attachments/assets/b94a117a-b9e5-4854-805a-8666941c7816