Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict(image):
|
|
14 |
# Create the Gradio interface
|
15 |
demo = gr.Interface(
|
16 |
fn=predict,
|
17 |
-
inputs=gr.Image(type="
|
18 |
outputs="text",
|
19 |
title="Image validation",
|
20 |
description="Upload an image and get the model's text prediction."
|
|
|
14 |
# Create the Gradio interface
|
15 |
demo = gr.Interface(
|
16 |
fn=predict,
|
17 |
+
inputs=gr.Image(type="pil"),
|
18 |
outputs="text",
|
19 |
title="Image validation",
|
20 |
description="Upload an image and get the model's text prediction."
|