Spaces:
Build error
Build error
First model version
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ iface = gr.Interface(
|
|
34 |
fn=infer,
|
35 |
title="Mask TextSpotter v3",
|
36 |
description="Mask TextSpotter v3 is an end-to-end trainable scene text spotter that adopts a Segmentation Proposal Network (SPN) instead of an RPN. Mask TextSpotter v3 significantly improves robustness to rotations, aspect ratios, and shapes.",
|
37 |
-
inputs=[gr.inputs.Image(label="image", type="
|
38 |
outputs=[gr.outputs.Image()], #, gr.outputs.Dataframe(headers=['word'])],
|
39 |
#examples=['example1.jpg', 'example2.jpg', 'example3.jpg'],
|
40 |
#article="<a href=\"https://github.com/MhLiao/MaskTextSpotterV3\">GitHub Repo</a>",
|
41 |
-
).launch(
|
|
|
34 |
fn=infer,
|
35 |
title="Mask TextSpotter v3",
|
36 |
description="Mask TextSpotter v3 is an end-to-end trainable scene text spotter that adopts a Segmentation Proposal Network (SPN) instead of an RPN. Mask TextSpotter v3 significantly improves robustness to rotations, aspect ratios, and shapes.",
|
37 |
+
inputs=[gr.inputs.Image(label="image", type="filepath")],
|
38 |
outputs=[gr.outputs.Image()], #, gr.outputs.Dataframe(headers=['word'])],
|
39 |
#examples=['example1.jpg', 'example2.jpg', 'example3.jpg'],
|
40 |
#article="<a href=\"https://github.com/MhLiao/MaskTextSpotterV3\">GitHub Repo</a>",
|
41 |
+
).launch(enable_queue=True)
|