Spaces:
Sleeping
Sleeping
Commit
·
7f722c0
1
Parent(s):
6907ed2
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,8 +67,7 @@ description = "An resnet50 feature extractor computer vision model to classify a
|
|
| 67 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
| 68 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 69 |
outputs=[gr.Label(num_top_classes=5, label="Predictions"), # what are the outputs?
|
| 70 |
-
gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
|
| 71 |
-
examples=example_list,
|
| 72 |
title=title,
|
| 73 |
description=description,
|
| 74 |
)
|
|
|
|
| 67 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
| 68 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 69 |
outputs=[gr.Label(num_top_classes=5, label="Predictions"), # what are the outputs?
|
| 70 |
+
gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs,
|
|
|
|
| 71 |
title=title,
|
| 72 |
description=description,
|
| 73 |
)
|