Spaces:
Sleeping
Sleeping
| 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) |