Spaces:
Runtime error
Runtime error
Zhang Chi
commited on
Commit
·
d7fc160
1
Parent(s):
0a3c859
init
Browse files- app.py +12 -0
- requirements.txt +1 -0
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from gradio_model4dgs import Model4DGS
|
3 |
+
import os
|
4 |
+
|
5 |
+
examples = [os.path.join(os.path.dirname(__file__), example) for example in Model4DGS().example_inputs()]
|
6 |
+
|
7 |
+
with gr.Blocks() as demo:
|
8 |
+
with gr.Row():
|
9 |
+
Model4DGS(value=examples, label="4D Model")
|
10 |
+
|
11 |
+
if __name__ == "__main__":
|
12 |
+
demo.launch()
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio_model4dgs>=0.0.1
|