Download app.py from hysts-debug/model3d-rendering-area-collapsed: direct link, hf CLI and curl.
- Browser
- Download file 304 Bytes
-
https://huggingface.co/spaces/hysts-debug/model3d-rendering-area-collapsed/resolve/main/app.py
- Command line
-
hf download hf://spaces/hysts-debug/model3d-rendering-area-collapsed/app.py
-
curl -L -o app.py https://huggingface.co/spaces/hysts-debug/model3d-rendering-area-collapsed/resolve/main/app.py
304 Bytes
| #!/usr/bin/env python | |
| import gradio as gr | |
| with gr.Blocks() as demo: | |
| with gr.Tabs(): | |
| with gr.Tab(label="a"): | |
| out1 = gr.Model3D(value="data.ply") | |
| with gr.Tab(label="b"): | |
| out2 = gr.Model3D(value="data.ply") | |
| if __name__ == "__main__": | |
| demo.queue().launch() | |