Spaces:
Configuration error
Configuration error
staswrs
commited on
Commit
·
0a8ddd1
1
Parent(s):
546f547
add files
Browse files- app.py +8 -4
- requirements.txt +4 -0
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
return "
|
5 |
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def dummy_predict(image):
|
4 |
+
return "demo.glb"
|
5 |
|
6 |
+
gr.Interface(
|
7 |
+
fn=dummy_predict,
|
8 |
+
inputs=gr.Image(type="filepath"),
|
9 |
+
outputs=gr.File(label="GLB Model"),
|
10 |
+
title="Hunyuan3D Placeholder"
|
11 |
+
).launch()
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
gradio
|
2 |
+
torch
|
3 |
+
numpy
|
4 |
+
Pillow
|