Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ from diffusers.utils import load_image
|
|
| 14 |
import torch
|
| 15 |
from huggingface_hub import HfApi
|
| 16 |
from huggingface_hub.utils import RepositoryNotFoundError, RevisionNotFoundError, EntryNotFoundError
|
|
|
|
| 17 |
|
| 18 |
# --- Model Loading ---
|
| 19 |
predictor = None
|
|
|
|
| 14 |
import torch
|
| 15 |
from huggingface_hub import HfApi
|
| 16 |
from huggingface_hub.utils import RepositoryNotFoundError, RevisionNotFoundError, EntryNotFoundError
|
| 17 |
+
os.environ["CUDA_VISIBLE_DEVICES"] = ""
|
| 18 |
|
| 19 |
# --- Model Loading ---
|
| 20 |
predictor = None
|