Spaces:
Build error
Build error
Commit
·
3638ef4
1
Parent(s):
8742122
Upload app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def classify_image(inp):
|
|
| 34 |
|
| 35 |
gr.Interface(
|
| 36 |
fn=classify_image,
|
| 37 |
-
inputs=gr.inputs.Image(shape=(
|
| 38 |
outputs=[
|
| 39 |
gr.outputs.Textbox(label="Label"),
|
| 40 |
gr.outputs.Textbox(label="Glaucoma probability (0 - 100)"),
|
|
|
|
| 34 |
|
| 35 |
gr.Interface(
|
| 36 |
fn=classify_image,
|
| 37 |
+
inputs=gr.inputs.Image(shape=(config["size"], config["size"])),
|
| 38 |
outputs=[
|
| 39 |
gr.outputs.Textbox(label="Label"),
|
| 40 |
gr.outputs.Textbox(label="Glaucoma probability (0 - 100)"),
|