Update
Browse files
app.py
CHANGED
|
@@ -22,7 +22,9 @@ def classify_image(img):
|
|
| 22 |
|
| 23 |
image = gr.inputs.Image(shape=(192, 192))
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
-
examples = str(project_dir / "examples")
|
| 26 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,
|
|
|
|
|
|
|
| 27 |
examples=examples)
|
| 28 |
intf.launch()
|
|
|
|
| 22 |
|
| 23 |
image = gr.inputs.Image(shape=(192, 192))
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
+
examples = None # str(project_dir / "examples")
|
| 26 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,
|
| 27 |
+
itle = "Dog/Cat Classifier",
|
| 28 |
+
description = "A dog/cat classifier.",
|
| 29 |
examples=examples)
|
| 30 |
intf.launch()
|