Spaces:
Runtime error
Runtime error
Commit
·
2fb8345
1
Parent(s):
ba777f7
sharing
Browse files
app.py
CHANGED
@@ -44,13 +44,7 @@ def img_transcribes(image):
|
|
44 |
result.append(single_img_transcribe(image, t))
|
45 |
return result
|
46 |
|
47 |
-
|
48 |
inputs=gr.Image(type="pil"),
|
49 |
outputs=["text","text","text"]
|
50 |
-
)
|
51 |
-
iface2 = gr.Interface(fn=img_transcribes,
|
52 |
-
inputs=gr.Image(type="pil"),
|
53 |
-
outputs=["text","text","text"]
|
54 |
-
)
|
55 |
-
|
56 |
-
gr.parallel(iface1, iface2).launch()
|
|
|
44 |
result.append(single_img_transcribe(image, t))
|
45 |
return result
|
46 |
|
47 |
+
gr.Interface(fn=img_transcribes,
|
48 |
inputs=gr.Image(type="pil"),
|
49 |
outputs=["text","text","text"]
|
50 |
+
).launch(share=True)
|
|
|
|
|
|
|
|
|
|
|
|