Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ css = """.output_image, .input_image {height: 600px !important}"""
|
|
10 |
|
11 |
# gradio interface that takes in input an image and return a JSON file that contains its info
|
12 |
# for now it shows also the intermediate steps
|
13 |
-
iface = gr.Interface(
|
|
|
14 |
inputs=gr.Image(type="pil"),
|
15 |
outputs=[
|
16 |
#gr.Image(type="pil", label="annotated image"),
|
|
|
10 |
|
11 |
# gradio interface that takes in input an image and return a JSON file that contains its info
|
12 |
# for now it shows also the intermediate steps
|
13 |
+
iface = gr.Interface(theme=gr.themes.Monochrome(),
|
14 |
+
fn=prediction,
|
15 |
inputs=gr.Image(type="pil"),
|
16 |
outputs=[
|
17 |
#gr.Image(type="pil", label="annotated image"),
|