staswrs commited on
Commit
0a8ddd1
·
1 Parent(s): 546f547
Files changed (2) hide show
  1. app.py +8 -4
  2. requirements.txt +4 -0
app.py CHANGED
@@ -1,7 +1,11 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch()
 
 
 
 
 
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