vahidrezanezhad commited on
Commit
de95e10
·
verified ·
1 Parent(s): 40fa99d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,5 +19,5 @@ def greet(image):
19
  #print(model.summary())
20
  return "Hello "
21
 
22
- iface = gr.Interface(fn=greet, inputs="image", outputs="text")
23
  iface.launch()
 
19
  #print(model.summary())
20
  return "Hello "
21
 
22
+ iface = gr.Interface(fn=greet, inputs=gr.Image(), outputs="text")
23
  iface.launch()