Spaces:
Runtime error
Runtime error
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() |