Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def hello(name):
|
|
| 14 |
image=gr.inputs.Image(shape=(192,192))
|
| 15 |
label =gr.outputs.Label()
|
| 16 |
examples = ['dog.jpg','Cat_November_2010-1a.jpg']
|
| 17 |
-
|
| 18 |
-
intf =gr.Interface(fn=hello,inputs ='text',outputs='text')
|
| 19 |
|
| 20 |
intf.launch()
|
|
|
|
| 14 |
image=gr.inputs.Image(shape=(192,192))
|
| 15 |
label =gr.outputs.Label()
|
| 16 |
examples = ['dog.jpg','Cat_November_2010-1a.jpg']
|
| 17 |
+
intf =gr.Interface(fn=classify_image,inputs =image,outputs=label,examples=examples)
|
| 18 |
+
#intf =gr.Interface(fn=hello,inputs ='text',outputs='text')
|
| 19 |
|
| 20 |
intf.launch()
|