File size: 358 Bytes
94e9ce0
 
 
 
3853329
1
2
3
4
5
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)