gdo commited on
Commit
32138b2
·
verified ·
1 Parent(s): a84ccc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  # Initialize the text-to-image pipeline
2
  pipe = pipeline("text-to-image", model="runwayml/stable-diffusion-v1-5")
3
 
 
1
+ import gradio as gr
2
+ from transformers import pipeline
3
+ import random
4
+
5
  # Initialize the text-to-image pipeline
6
  pipe = pipeline("text-to-image", model="runwayml/stable-diffusion-v1-5")
7