maker-space / app.py
isayahc's picture
making set up
7ce3f04 verified
raw
history blame
401 Bytes
import gradio as gr
from get_blender import main
main()
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()