maker-space / app.py
isayahc's picture
added sample secret to UI
734a0bd verified
raw
history blame
364 Bytes
import gradio as gr
def process_text(input_text):
# Your processing logic here
return input_text.upper()
textbox = gr.Textbox(
lines=5,
placeholder="Type your text here...",
interactive=False # Set this to False to hide the input
)
interface = gr.Interface(
fn=process_text,
inputs=textbox,
outputs="text"
)
interface.launch()