Spaces:
Runtime error
Runtime error
Arthour commited on
Commit ·
0a00eda
1
Parent(s): de0cb94
Fixed settings and secrets
Browse files- app/models/request.py +1 -1
- application.py +1 -1
- app/settings.py → settings.py +0 -0
app/models/request.py
CHANGED
|
@@ -2,7 +2,7 @@ from datetime import datetime
|
|
| 2 |
|
| 3 |
from pony.orm import PrimaryKey, Required, Json
|
| 4 |
|
| 5 |
-
from
|
| 6 |
|
| 7 |
|
| 8 |
class Request(db.Entity):
|
|
|
|
| 2 |
|
| 3 |
from pony.orm import PrimaryKey, Required, Json
|
| 4 |
|
| 5 |
+
from settings import db
|
| 6 |
|
| 7 |
|
| 8 |
class Request(db.Entity):
|
application.py
CHANGED
|
@@ -11,7 +11,7 @@ from spacy import displacy
|
|
| 11 |
|
| 12 |
from app.classificator import Classificator, Classification
|
| 13 |
from app.models.request import Request
|
| 14 |
-
from
|
| 15 |
|
| 16 |
|
| 17 |
class Application:
|
|
|
|
| 11 |
|
| 12 |
from app.classificator import Classificator, Classification
|
| 13 |
from app.models.request import Request
|
| 14 |
+
from settings import AUTH_ENDPOINT_TOKEN, ENDPOINT_URL, db
|
| 15 |
|
| 16 |
|
| 17 |
class Application:
|
app/settings.py → settings.py
RENAMED
|
File without changes
|