Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import numpy as np
|
|
4 |
import modin.pandas as pd
|
5 |
from PIL import Image
|
6 |
from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
|
|
|
7 |
|
8 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
9 |
torch.cuda.max_memory_allocated(device=device)
|
|
|
4 |
import modin.pandas as pd
|
5 |
from PIL import Image
|
6 |
from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
|
7 |
+
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
10 |
torch.cuda.max_memory_allocated(device=device)
|