Spaces:
Runtime error
Runtime error
Commit
·
c5bfed7
1
Parent(s):
f278de8
Remove useless code
Browse files
app.py
CHANGED
|
@@ -6,7 +6,6 @@ import random
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
ldm_pipeline = LatentDiffusionPipeline.from_pretrained("CompVis/ldm-text2im-large-256")
|
| 9 |
-
images = []
|
| 10 |
|
| 11 |
def predict(prompt, steps=100, seed=42, guidance_scale=6.0):
|
| 12 |
torch.cuda.empty_cache()
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
ldm_pipeline = LatentDiffusionPipeline.from_pretrained("CompVis/ldm-text2im-large-256")
|
|
|
|
| 9 |
|
| 10 |
def predict(prompt, steps=100, seed=42, guidance_scale=6.0):
|
| 11 |
torch.cuda.empty_cache()
|