create project and create model and dashboard

This commit is contained in:
2025-12-11 10:16:43 +05:30
parent 2371202ac3
commit 2e62320167
55 changed files with 1072 additions and 0 deletions

Binary file not shown.

6
app/utils/file_utils.py Normal file
View File

@@ -0,0 +1,6 @@
import os
from app.config import Config
def ensure_upload_folder():
if not os.path.exists(Config.UPLOAD_FOLDER):
os.makedirs(Config.UPLOAD_FOLDER)

2
app/utils/helpers.py Normal file
View File

@@ -0,0 +1,2 @@
def is_logged_in(session):
return session.get("user_id") is not None