mrbeliever's picture
Update app.py
daf279b verified
raw
history blame contribute delete
344 Bytes
import gradio as gr
# Load the model
model = gr.load("models/stabilityai/stable-diffusion-xl-base-1.0")
# Customize the interface
iface = gr.Interface(
fn=model,
title="",
description="",
inputs="text",
outputs="image", # Set outputs to "image" for image output
)
# Launch the customized interface
iface.launch()