Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ def process_image(img):
|
|
39 |
|
40 |
interface = gr.Interface(
|
41 |
fn=process_image,
|
42 |
-
inputs=gr.
|
43 |
-
outputs=gr.
|
44 |
title="Remove Text from Images",
|
45 |
description="Upload an image, and the model will remove any text present in the image using OCR and inpainting techniques."
|
46 |
)
|
|
|
39 |
|
40 |
interface = gr.Interface(
|
41 |
fn=process_image,
|
42 |
+
inputs=gr.Image(type="numpy"),
|
43 |
+
outputs=gr.Image(type="numpy"),
|
44 |
title="Remove Text from Images",
|
45 |
description="Upload an image, and the model will remove any text present in the image using OCR and inpainting techniques."
|
46 |
)
|