Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def process_image(image):
|
|
18 |
gr.Interface(
|
19 |
predict,
|
20 |
fn=process_image,
|
21 |
-
inputs=gr.Image(
|
22 |
outputs=gr.Label(num_top_classes=5),
|
23 |
title="Astrophotography Object Classifier",
|
24 |
allow_flagging="manual",
|
|
|
18 |
gr.Interface(
|
19 |
predict,
|
20 |
fn=process_image,
|
21 |
+
inputs=gr.Image(type="pil", label="Upload Astrophotography image"),
|
22 |
outputs=gr.Label(num_top_classes=5),
|
23 |
title="Astrophotography Object Classifier",
|
24 |
allow_flagging="manual",
|