Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,12 +134,4 @@ cover = gr.inputs.Image(shape=(width, height), label='Upload cover image to clas
|
|
| 134 |
label = gr.outputs.Label(label='Model prediction')
|
| 135 |
|
| 136 |
examples=["00064.jpg","00068.jpg", "00069.jpg"]
|
| 137 |
-
|
| 138 |
-
#gr.Interface(fn=interrogate,inputs=gr.Image(),outputs=gr.outputs.Label(),examples=examples).launch()
|
| 139 |
-
gr.Interface(fn=interrogate,inputs=cover,outputs=label,examples=examples).launch(share=True)
|
| 140 |
-
|
| 141 |
-
#def greet(name):
|
| 142 |
-
#return "hi " + name + "!!"
|
| 143 |
-
|
| 144 |
-
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 145 |
-
#iface.launch(share=True)
|
|
|
|
| 134 |
label = gr.outputs.Label(label='Model prediction')
|
| 135 |
|
| 136 |
examples=["00064.jpg","00068.jpg", "00069.jpg"]
|
| 137 |
+
gr.Interface(fn=interrogate,inputs=cover,outputs=label,examples=examples).launch(share=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|