Update app.py
Browse files
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 |
|