Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def describe_image(image):
|
|
| 12 |
# Create the Gradio interface
|
| 13 |
gr.Interface(
|
| 14 |
fn=describe_image,
|
| 15 |
-
inputs=gr.Image(
|
| 16 |
outputs="text",
|
| 17 |
title="Image Describer",
|
| 18 |
description="Upload an image and this app will describe it!"
|
|
|
|
| 12 |
# Create the Gradio interface
|
| 13 |
gr.Interface(
|
| 14 |
fn=describe_image,
|
| 15 |
+
inputs=gr.Image(type="pil"),
|
| 16 |
outputs="text",
|
| 17 |
title="Image Describer",
|
| 18 |
description="Upload an image and this app will describe it!"
|