frogleo commited on
Commit
75d84c2
·
verified ·
1 Parent(s): f882a9b

优化界面和交互

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,8 +1,13 @@
 
1
  import gradio as gr
2
 
3
  title = "## Image to 3D"
4
- description = "A lightweight image to 3D converter"
5
 
 
 
 
 
6
 
7
  with gr.Blocks().queue() as demo:
8
  gr.Markdown(title)
 
1
+ import spaces
2
  import gradio as gr
3
 
4
  title = "## Image to 3D"
5
+ description = "Image to 3D"
6
 
7
+ @spaces.GPU(duration=60)
8
+ def gen_shape():
9
+ print("do nothing")
10
+
11
 
12
  with gr.Blocks().queue() as demo:
13
  gr.Markdown(title)