File size: 261 Bytes
d4788d2
 
02a9068
 
d4788d2
02a9068
 
 
 
 
 
 
d4788d2
02a9068
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

def char_count(s):
    return len(s)

iface = gr.Interface(
    fn=char_count,
    inputs="text",
    outputs="number",
    title="ThiruApps - Character Counting",
    description="Counts character is input text"
)

iface.launch(share=True)