Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
ABOUT = """
|
2 |
-
# TB-OCR Unofficial Demo
|
3 |
|
4 |
This is an unofficial demo of [yifeihu/TB-OCR-preview-0.1](https://huggingface.co/yifeihu/TB-OCR-preview-0.1).
|
5 |
|
@@ -67,7 +67,7 @@ with gr.Blocks() as demo:
|
|
67 |
gr.Markdown(ABOUT)
|
68 |
with gr.Row():
|
69 |
with gr.Column():
|
70 |
-
img = gr.Image(label="Input image", type="
|
71 |
btn = gr.Button("OCR")
|
72 |
with gr.Column():
|
73 |
out = gr.Markdown()
|
|
|
1 |
ABOUT = """
|
2 |
+
# TB-OCR Preview 0.1 Unofficial Demo
|
3 |
|
4 |
This is an unofficial demo of [yifeihu/TB-OCR-preview-0.1](https://huggingface.co/yifeihu/TB-OCR-preview-0.1).
|
5 |
|
|
|
67 |
gr.Markdown(ABOUT)
|
68 |
with gr.Row():
|
69 |
with gr.Column():
|
70 |
+
img = gr.Image(label="Input image", type="filepath")
|
71 |
btn = gr.Button("OCR")
|
72 |
with gr.Column():
|
73 |
out = gr.Markdown()
|