app.py
CHANGED
@@ -14,8 +14,10 @@ def predict(img):
|
|
14 |
|
15 |
|
16 |
examples = ['mig.jpg', 'su.jpg']
|
|
|
|
|
17 |
|
18 |
-
gr.Interface(fn=predict,inputs="image", outputs="label", title="Mig-29 or Su-27", examples=examples, interpretation=interpretation,enable_queue=
|
19 |
|
20 |
|
21 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
14 |
|
15 |
|
16 |
examples = ['mig.jpg', 'su.jpg']
|
17 |
+
interpretation='default'
|
18 |
+
enable_queue=True
|
19 |
|
20 |
+
gr.Interface(fn=predict,inputs="image", outputs="label", title="Mig-29 or Su-27", examples=examples, interpretation=interpretation, enable_queue=enable_queue).launch()
|
21 |
|
22 |
|
23 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|