mesutt's picture
Update app.py
3853329
raw
history blame
358 Bytes
import gradio as gr
title = "Text to image with SDv1.5 in Gradio"
description = "Type input area your prompt and wait till return an image about your prompt"
text_to_image = gr.Interface.load("huggingface/runwayml/stable-diffusion-v1-5")
gr.Interface(fn=text_to_image, inputs="text", outputs="image", title=title, description=description).launch(share=True)