Spaces:
Paused
Paused
Commit
·
671ea59
1
Parent(s):
9d4b413
updated
Browse files
app.py
CHANGED
@@ -26,7 +26,13 @@ from backend.routes.interview_api import interview_api
|
|
26 |
from backend.models.resume_parser.resume_to_features import extract_resume_features
|
27 |
|
28 |
# Initialize Flask app
|
29 |
-
app = Flask(
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
app.config['SECRET_KEY'] = 'your-secret-key'
|
31 |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/codingo.db'
|
32 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
|
|
26 |
from backend.models.resume_parser.resume_to_features import extract_resume_features
|
27 |
|
28 |
# Initialize Flask app
|
29 |
+
app = Flask(
|
30 |
+
__name__,
|
31 |
+
static_folder='backend/static', # this is the actual folder on disk
|
32 |
+
static_url_path='/static', # this is the URL route, must start with `/`
|
33 |
+
template_folder='backend/templates'
|
34 |
+
)
|
35 |
+
|
36 |
app.config['SECRET_KEY'] = 'your-secret-key'
|
37 |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/codingo.db'
|
38 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|