Spaces:
Paused
Paused
Update app/config.py
Browse files- app/config.py +2 -2
app/config.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
|
4 |
-
DATABASE_URL =
|
5 |
|
6 |
SECRET_KEY = os.environ.get("SECRET_KEY")
|
7 |
ALGORITHM = os.environ.get("ALGORITHM")
|
@@ -11,6 +11,6 @@ ACCESS_TOKEN_EXPIRE_MINUTES = 30000
|
|
11 |
SUPERUSER_USERNAME = os.environ.get("SUPERUSER_USERNAME")
|
12 |
SUPERUSER_PASSWORD = os.environ.get("SUPERUSER_PASSWORD")
|
13 |
|
14 |
-
DEVICE = "
|
15 |
|
16 |
# os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'expandable_segments:True'
|
|
|
1 |
import os
|
2 |
|
3 |
|
4 |
+
DATABASE_URL = os.environ.get("DATABASE_URL")
|
5 |
|
6 |
SECRET_KEY = os.environ.get("SECRET_KEY")
|
7 |
ALGORITHM = os.environ.get("ALGORITHM")
|
|
|
11 |
SUPERUSER_USERNAME = os.environ.get("SUPERUSER_USERNAME")
|
12 |
SUPERUSER_PASSWORD = os.environ.get("SUPERUSER_PASSWORD")
|
13 |
|
14 |
+
DEVICE = os.environ.get("DEVICE")
|
15 |
|
16 |
# os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'expandable_segments:True'
|