Spaces:
Sleeping
Sleeping
minor
Browse files
README.md
CHANGED
@@ -1,12 +1,34 @@
|
|
1 |
---
|
2 |
title: Viser Cows
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: pink
|
6 |
-
sdk:
|
7 |
-
|
8 |
-
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|