test1 / app.py
gwx666's picture
Update app.py
f9b4942 verified
raw
history blame
300 Bytes
import gradio as gr
global models_dict
models_dict = {
"RealVision": "SG161222/RealVisXL_V4.01111" ,
"Unstable": "stablediffusionapi/sdxl-unstable-diffusers-y"
}
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()