Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ examples = ['spanish', 'french', 'japanese']
|
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
fn=predict,
|
| 27 |
-
inputs=gr.Image(),
|
| 28 |
outputs=gr.Label(num_top_classes=3),
|
| 29 |
title=title,
|
| 30 |
description=description,
|
|
|
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
fn=predict,
|
| 27 |
+
inputs=gr.Image(type="pil"),
|
| 28 |
outputs=gr.Label(num_top_classes=3),
|
| 29 |
title=title,
|
| 30 |
description=description,
|