PaddleOCRv4 / app.py
onursavas's picture
Create app.py
4d03389
raw
history blame
353 Bytes
import gradio as gr
def flip_text(x):
return x[::-1]
demo = gr.Blocks()
with demo:
gr.Markdown(
"""
# PaddleOCR v4
"""
)
with gr.Row():
with gr.Column():
input_image = gr.Image()
input_button = gr.Button()
with gr.Column():
output_image = gr.Image()
demo.launch()