Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoTokenizer, AutoModel
|
|
7 |
import torch
|
8 |
from torch import Tensor
|
9 |
import torch.nn.functional as F
|
10 |
-
|
11 |
os.environ['HF_HOME'] = '/'
|
12 |
|
13 |
app = FastAPI()
|
|
|
7 |
import torch
|
8 |
from torch import Tensor
|
9 |
import torch.nn.functional as F
|
10 |
+
import os
|
11 |
os.environ['HF_HOME'] = '/'
|
12 |
|
13 |
app = FastAPI()
|