Spaces:
Runtime error
Runtime error
Commit ·
02b7828
1
Parent(s): 7ef6d20
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ else:
|
|
| 27 |
title = "Txt to Image by CPU"
|
| 28 |
pipeline = StableDiffusionPipeline.from_pretrained(my_model)
|
| 29 |
|
| 30 |
-
title = os.environ['model_fetch']
|
| 31 |
|
| 32 |
def predict(prompt):
|
| 33 |
predictions = pipeline(prompt, guidance_scale=7.5).images[0]
|
|
|
|
| 27 |
title = "Txt to Image by CPU"
|
| 28 |
pipeline = StableDiffusionPipeline.from_pretrained(my_model)
|
| 29 |
|
| 30 |
+
#title = os.environ['model_fetch']
|
| 31 |
|
| 32 |
def predict(prompt):
|
| 33 |
predictions = pipeline(prompt, guidance_scale=7.5).images[0]
|