Spaces:
Sleeping
Sleeping
Aar贸n Espasand铆n
commited on
Commit
路
a4b2962
1
Parent(s):
0dd7a38
Adding type of Image as it's requested for Gradio in newer versions
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ interface = gr.Interface(
|
|
| 95 |
outputs=[
|
| 96 |
gr.outputs.Label(label="Class"),
|
| 97 |
"text",
|
| 98 |
-
gr.outputs.Image(label="Face with Explainability")
|
| 99 |
],
|
| 100 |
examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)]
|
| 101 |
).launch()
|
|
|
|
| 95 |
outputs=[
|
| 96 |
gr.outputs.Label(label="Class"),
|
| 97 |
"text",
|
| 98 |
+
gr.outputs.Image(label="Face with Explainability", type="numpy")
|
| 99 |
],
|
| 100 |
examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)]
|
| 101 |
).launch()
|