greg / app.py
gregtsen's picture
Update app.py
b8c209a
raw
history blame contribute delete
191 Bytes
import gradio as gr
gr.Interface.load("models/gpt2").launch()
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()