Spaces:
Runtime error
Runtime error
File size: 288 Bytes
d71a37b |
1 2 3 4 5 6 7 8 9 10 11 12 |
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() |