Spaces:
Runtime error
Runtime error
Update image_summary.py
Browse files- image_summary.py +1 -1
image_summary.py
CHANGED
|
@@ -57,7 +57,7 @@ examples=[["english.png"],["Parag_Letter_j.jpg"]]
|
|
| 57 |
|
| 58 |
|
| 59 |
image_summary_demo = gr.Interface(fn=get_quote,
|
| 60 |
-
inputs=gr.
|
| 61 |
outputs=['text'],
|
| 62 |
title = title,
|
| 63 |
description = "Upload an image file and get text from it" ,
|
|
|
|
| 57 |
|
| 58 |
|
| 59 |
image_summary_demo = gr.Interface(fn=get_quote,
|
| 60 |
+
inputs=gr.Image(type="pil"),
|
| 61 |
outputs=['text'],
|
| 62 |
title = title,
|
| 63 |
description = "Upload an image file and get text from it" ,
|