Spaces:
Sleeping
Sleeping
LiquidoNoNewtoniano
commited on
Commit
•
b2c7600
1
Parent(s):
ceb986e
Update app.py
Browse files
app.py
CHANGED
@@ -30,10 +30,8 @@ description = ""
|
|
30 |
|
31 |
interface = gr.Interface(
|
32 |
fn=image_to_text,
|
33 |
-
inputs=
|
34 |
-
|
35 |
-
],
|
36 |
-
outputs=gr.Image(),
|
37 |
title=title,
|
38 |
description=description,
|
39 |
enable_queue=True
|
|
|
30 |
|
31 |
interface = gr.Interface(
|
32 |
fn=image_to_text,
|
33 |
+
inputs=gr.inputs.Image(type="pil"),
|
34 |
+
outputs=gr.Textbox(),
|
|
|
|
|
35 |
title=title,
|
36 |
description=description,
|
37 |
enable_queue=True
|