Spaces:
Sleeping
Sleeping
File size: 341 Bytes
a235c8f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
def capitalize_text(input_text):
return input_text.upper()
iface = gr.Interface(
fn=capitalize_text,
inputs=gr.Textbox(label="Enter text"),
outputs=gr.Textbox(label="Capitalized text"),
title="Text Capitalizer",
description="Enter some text and click submit to capitalize it."
)
iface.launch()
|