import requests import io from PIL import Image import gradio as gr title = "Fine Tuned SD Model - Authoral stylization" description = "Generate images trained in an authoral illustration model." article = "
" def greet(name): return "Hello " + name + "!!" iface = gr.Interface(fn=greet, inputs=gr.inputs.Textbox(label="Prompt", placeholder="Your prompt here..."), outputs=gr.outputs.Image(label="Generated Image") ) iface.launch()