DreamshaperXL / app.py
mrbeliever's picture
Update app.py
8ad430c verified
raw
history blame
No virus
362 Bytes
import gradio as gr
# Load the model
model = gr.load("models/stablediffusionapi/juggernaut-xl-v5")
# Customize the interface
iface = gr.Interface(
fn=model,
title="Text-to-Image Generator",
description="",
inputs="text",
outputs="image", # Set outputs to "image" for image output
)
# Launch the customized interface
iface.launch()