doyu commited on
Commit
057d710
·
1 Parent(s): 7bdf2c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -16,8 +16,8 @@ examples = ['lionmale.jpg', 'lionfemale.jpg']
16
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
17
  intf.launch(inline=False)
18
 
19
- #def greet(name):
20
- # return "Hello " + name + "!!"
21
 
22
- #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
23
- #iface.launch()
 
16
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
17
  intf.launch(inline=False)
18
 
19
+ def greet(name):
20
+ return "Hello " + name + "!!"
21
 
22
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
23
+ iface.launch()