imagen / app.py
focusit's picture
Update app.py
eba6fda
raw
history blame
305 Bytes
# import gradio as gr
# gr.Interface.load("models/deepset/roberta-base-squad2").launch()
import gradio
def my_inference_function(name):
return "Hello " + name + "!"
gradio_interface = gradio.Interface(
fn = my_inference_function,
inputs = "text",
outputs = "text"
)
gradio_interface.launch()