Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,11 +21,11 @@ def process_image(img):
|
|
| 21 |
return '\n'.join(results) if isinstance(results, list) else results
|
| 22 |
|
| 23 |
iface = gr.Interface(
|
| 24 |
-
gr.Markdown(title)
|
| 25 |
-
gr.Markdown(description)
|
| 26 |
fn=process_image,
|
| 27 |
inputs=gr.inputs.Image(type="pil"),
|
| 28 |
-
outputs="text"
|
| 29 |
)
|
| 30 |
|
| 31 |
if __name__ == "__main__":
|
|
|
|
| 21 |
return '\n'.join(results) if isinstance(results, list) else results
|
| 22 |
|
| 23 |
iface = gr.Interface(
|
| 24 |
+
gr.Markdown(title),
|
| 25 |
+
gr.Markdown(description),
|
| 26 |
fn=process_image,
|
| 27 |
inputs=gr.inputs.Image(type="pil"),
|
| 28 |
+
outputs="text"
|
| 29 |
)
|
| 30 |
|
| 31 |
if __name__ == "__main__":
|