Spaces:
Sleeping
Sleeping
add image input
Browse files
app.py
CHANGED
@@ -77,5 +77,5 @@ def predict(img):
|
|
77 |
def greet(name):
|
78 |
return "Hello " + name + "!!"
|
79 |
|
80 |
-
iface = gr.Interface(fn=
|
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()
|