charcounter / app.py
thirudev's picture
Update app.py
02a9068 verified
raw
history blame contribute delete
261 Bytes
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)