dr4g0n7ly commited on
Commit
3ca437e
·
1 Parent(s): 348e559

update func

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -12,8 +12,5 @@ def classify_image(img):
12
  image = gr.inputs.Image(shape=(200,200))
13
  label = gr.outputs.Label()
14
 
15
- def greet(name):
16
- return "Hello " + name + "!!"
17
-
18
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
19
  iface.launch(inline=False)
 
12
  image = gr.inputs.Image(shape=(200,200))
13
  label = gr.outputs.Label()
14
 
15
+ iface = gr.Interface(fn=classify_image, inputs="text", outputs="text")
 
 
 
16
  iface.launch(inline=False)