Spaces:
Sleeping
Sleeping
Changed type of label
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
| 52 |
# Create the Gradio demo
|
| 53 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
| 54 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 55 |
-
outputs=gr.Label(
|
| 56 |
examples=example_list,
|
| 57 |
title=title,
|
| 58 |
description=description,
|
|
|
|
| 52 |
# Create the Gradio demo
|
| 53 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
| 54 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 55 |
+
outputs=gr.Label(label="Predictions"),
|
| 56 |
examples=example_list,
|
| 57 |
title=title,
|
| 58 |
description=description,
|