Update run.py
Browse files
run.py
CHANGED
|
@@ -8,6 +8,8 @@ import re
|
|
| 8 |
from werkzeug.utils import secure_filename
|
| 9 |
import uuid
|
| 10 |
|
|
|
|
|
|
|
| 11 |
|
| 12 |
class Config:
|
| 13 |
UPLOAD_FOLDER = os.path.join(os.path.dirname(__file__), 'uploads') # Correct path
|
|
|
|
| 8 |
from werkzeug.utils import secure_filename
|
| 9 |
import uuid
|
| 10 |
|
| 11 |
+
import os
|
| 12 |
+
os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
|
| 13 |
|
| 14 |
class Config:
|
| 15 |
UPLOAD_FOLDER = os.path.join(os.path.dirname(__file__), 'uploads') # Correct path
|