gradio-space / app.py
cbensimon's picture
cbensimon HF Staff
Create app.py
d71a37b
raw
history blame
288 Bytes
import gradio as gr
from gradio.inputs import Textbox
from gradio.outputs import Textbox as TextOutput
def process(text):
return f'v5 Hi {text}'
interface = gr.Interface(
fn=process,
inputs=[Textbox()],
outputs=[TextOutput()],
theme='huggingface',
)
interface.launch()