File size: 353 Bytes
4d03389
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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()