wwnvp01 commited on
Commit
59a5d75
·
verified ·
1 Parent(s): 10cccdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -81,11 +81,11 @@ def detect(image):
81
 
82
  return pred_dress_s, cosin
83
 
84
- demo = gr.Interface(
85
- fn=detect,
86
- inputs=gr.Image(type="numpy", label="Upload an image"),
87
- outputs=[gr.Textbox(label = "Predictions"),
88
- gr.Number(label="Typicality Score")],
89
- title='Dress Classification')
90
 
91
-
 
81
 
82
  return pred_dress_s, cosin
83
 
84
+ demo = gr.Interface(
85
+ fn=detect,
86
+ inputs=gr.Image(type="numpy", label="Upload an image"),
87
+ outputs=[gr.Textbox(label = "Predictions"),
88
+ gr.Number(label="Typicality Score")],
89
+ title='Dress Classification')
90
 
91
+ demo.launch()