Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ from transformers.cache_utils import DynamicCache
|
|
| 4 |
import torch
|
| 5 |
import itertools
|
| 6 |
from threading import Thread
|
|
|
|
| 7 |
|
| 8 |
DEVICE = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
| 9 |
MODEL_IDS = [
|
|
|
|
| 4 |
import torch
|
| 5 |
import itertools
|
| 6 |
from threading import Thread
|
| 7 |
+
import spaces
|
| 8 |
|
| 9 |
DEVICE = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
| 10 |
MODEL_IDS = [
|