Skip to content

Commit beb8b0e

Browse files
laksh22ivantha
authored andcommitted
Add serializers and edit, delete, get all endpoints
1 parent 4679800 commit beb8b0e

21 files changed

+896
-672
lines changed

.gitignore

+5-6
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,11 @@ db.sqlite3
264264
# Flask stuff:
265265
instance/
266266
.webassets-cache
267-
labellab-flask/model_files/graphs/*
268-
labellab-flask/model_files/layers/*
269-
labellab-flask/model_files/models/*
270-
labellab-flask/model_files/steps/*
271-
labellab-flask/model_files/test_img/*
272-
labellab-flask/public/uploads/*
267+
labellab-flask/ml_files/graphs/*
268+
labellab-flask/ml_files/layers/*
269+
labellab-flask/ml_files/models/*
270+
labellab-flask/ml_files/steps/*
271+
labellab-flask/ml_files/test_img/*
273272

274273
# Scrapy stuff:
275274
.scrapy

labellab-flask/api/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class DevelopmentConfig(Config):
3232
)
3333
SQLALCHEMY_TRACK_MODIFICATIONS = False
3434
# needs to be removed in further versions
35-
ML_FILES_DIR = os.path.join(os.path.dirname(basedir),'model_files')
35+
ML_FILES_DIR = os.path.join(os.path.dirname(basedir),'ml_files')
3636
UPLOAD_FOLDER = imagesdir
3737

3838

0 commit comments

Comments
 (0)