Asib27 commited on
Commit
33eb14c
·
1 Parent(s): 2313da6

add image input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,5 +77,5 @@ def predict(img):
77
  def greet(name):
78
  return "Hello " + name + "!!"
79
 
80
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
81
  iface.launch()
 
77
  def greet(name):
78
  return "Hello " + name + "!!"
79
 
80
+ iface = gr.Interface(fn=predict, inputs="image", outputs="text")
81
  iface.launch()