Spaces:
Runtime error
Runtime error
Commit ·
5d68ba9
1
Parent(s): ce28d41
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
import transformers
|
| 5 |
from transformers import pipeline
|
| 6 |
pipe = StableDiffusionPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16)
|
| 7 |
-
|
| 8 |
|
| 9 |
def generate_image(prompt):
|
| 10 |
|
|
|
|
| 4 |
import transformers
|
| 5 |
from transformers import pipeline
|
| 6 |
pipe = StableDiffusionPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16)
|
| 7 |
+
|
| 8 |
|
| 9 |
def generate_image(prompt):
|
| 10 |
|