Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ iface = gr.Interface(
|
|
22 |
description="When you convert an image to a Google doc, Drive uses Optical Character Recognition (OCR) to convert the image to text.",
|
23 |
inputs=[gr.inputs.Image(label='image', type='pil')],
|
24 |
outputs='text',
|
25 |
-
examples=[],
|
26 |
article="<a href=\"https://developers.google.com/drive/api/guides/manage-uploads#import_to_google_docs_types\">Docs</a>",
|
27 |
).launch()
|
|
|
22 |
description="When you convert an image to a Google doc, Drive uses Optical Character Recognition (OCR) to convert the image to text.",
|
23 |
inputs=[gr.inputs.Image(label='image', type='pil')],
|
24 |
outputs='text',
|
25 |
+
examples=['testocr.png', 'receipt.webp', '20131216170659.jpg'],
|
26 |
article="<a href=\"https://developers.google.com/drive/api/guides/manage-uploads#import_to_google_docs_types\">Docs</a>",
|
27 |
).launch()
|