Spaces:
Running
Running
TedYeh
commited on
Commit
·
a10bcbf
1
Parent(s):
a408864
update app
Browse files
app.py
CHANGED
|
@@ -25,5 +25,5 @@ with gr.Blocks() as demo:
|
|
| 25 |
#設定按鈕
|
| 26 |
submit = gr.Button("Submit")
|
| 27 |
#設定按鈕點選事件
|
| 28 |
-
|
| 29 |
demo.launch()
|
|
|
|
| 25 |
#設定按鈕
|
| 26 |
submit = gr.Button("Submit")
|
| 27 |
#設定按鈕點選事件
|
| 28 |
+
submit.click(fn=index_predict, inputs=image, outputs=[heights, bust, waist, hips, en_des, zh_des])
|
| 29 |
demo.launch()
|