Spaces:
Sleeping
Sleeping
add from huggingface_hub import login
Browse files
media.py
CHANGED
|
@@ -11,6 +11,7 @@ import numpy as np
|
|
| 11 |
import threading
|
| 12 |
from queue import Queue, Empty as QueueEmpty
|
| 13 |
from PIL import Image
|
|
|
|
| 14 |
|
| 15 |
# --- DYNAMIC HARDWARE DETECTION & AUTH ---
|
| 16 |
if torch.cuda.is_available():
|
|
|
|
| 11 |
import threading
|
| 12 |
from queue import Queue, Empty as QueueEmpty
|
| 13 |
from PIL import Image
|
| 14 |
+
from huggingface_hub import login
|
| 15 |
|
| 16 |
# --- DYNAMIC HARDWARE DETECTION & AUTH ---
|
| 17 |
if torch.cuda.is_available():
|