Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -57,11 +57,11 @@ example_list = [["examples/" + example] for exmple in os.listdir("examples")]
|
|
57 |
|
58 |
# Create the Gradio demo
|
59 |
demo = gr.Interface(fn=predict, # maps inputs to outputs
|
60 |
-
inputs=gr.Image(type=pil"),
|
61 |
outputs=[gr.Label(num_top_classes=3, label="Predictions"),
|
62 |
gr.Number(label="Prediction time (s)")],
|
63 |
examples=example_list,
|
64 |
-
title
|
65 |
description=description,
|
66 |
article=article)
|
67 |
|
|
|
57 |
|
58 |
# Create the Gradio demo
|
59 |
demo = gr.Interface(fn=predict, # maps inputs to outputs
|
60 |
+
inputs=gr.Image(type="pil"),
|
61 |
outputs=[gr.Label(num_top_classes=3, label="Predictions"),
|
62 |
gr.Number(label="Prediction time (s)")],
|
63 |
examples=example_list,
|
64 |
+
title=title,
|
65 |
description=description,
|
66 |
article=article)
|
67 |
|