File size: 259 Bytes
3b307ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr
import openslide


def process(text):
    return text[::-1]


demo = gr.Interface(
    fn=process,
    inputs="text",
    outputs="text",
    title="Reverse Text",
    description="Reverses the text entered by the user",

)

demo.launch()