yfyangd commited on
Commit
52ae2ad
·
1 Parent(s): 2c2b39f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -134,12 +134,4 @@ cover = gr.inputs.Image(shape=(width, height), label='Upload cover image to clas
134
  label = gr.outputs.Label(label='Model prediction')
135
 
136
  examples=["00064.jpg","00068.jpg", "00069.jpg"]
137
- #gr.Interface(fn=interrogate,inputs=[gr.Image()],output_label,examples=examples).launch()
138
- #gr.Interface(fn=interrogate,inputs=gr.Image(),outputs=gr.outputs.Label(),examples=examples).launch()
139
- gr.Interface(fn=interrogate,inputs=cover,outputs=label,examples=examples).launch(share=True)
140
-
141
- #def greet(name):
142
- #return "hi " + name + "!!"
143
-
144
- #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
145
- #iface.launch(share=True)
 
134
  label = gr.outputs.Label(label='Model prediction')
135
 
136
  examples=["00064.jpg","00068.jpg", "00069.jpg"]
137
+ gr.Interface(fn=interrogate,inputs=cover,outputs=label,examples=examples).launch(share=True)