Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import spaces
|
2 |
import torch
|
3 |
import torch.nn.functional as F
|
|
|
4 |
from torch import Tensor
|
5 |
from transformers import AutoTokenizer, AutoModel
|
6 |
import threading
|
|
|
1 |
import spaces
|
2 |
import torch
|
3 |
import torch.nn.functional as F
|
4 |
+
from torch.nn import DataParallel
|
5 |
from torch import Tensor
|
6 |
from transformers import AutoTokenizer, AutoModel
|
7 |
import threading
|