This commit is contained in:
parent
0d42e1e492
commit
6551e2dba6
@ -9,6 +9,8 @@ from utils import json_required, storage, ensure_buckets
|
|||||||
|
|
||||||
|
|
||||||
class CNNView(FlaskView):
|
class CNNView(FlaskView):
|
||||||
|
route_base = 'cnn'
|
||||||
|
|
||||||
aimodel_schema = AIModelSchema(many=False)
|
aimodel_schema = AIModelSchema(many=False)
|
||||||
aimodels_schema = AIModelSchema(many=True, exclude=['timestamp', 'details'])
|
aimodels_schema = AIModelSchema(many=True, exclude=['timestamp', 'details'])
|
||||||
default_schema = DefaultSchema(many=False)
|
default_schema = DefaultSchema(many=False)
|
||||||
|
@ -12,6 +12,8 @@ from pyAudioAnalysis.audioTrainTest import load_model, load_model_knn
|
|||||||
|
|
||||||
|
|
||||||
class SVMView(FlaskView):
|
class SVMView(FlaskView):
|
||||||
|
route_base = 'svm'
|
||||||
|
|
||||||
aimodel_schema = AIModelSchema(many=False)
|
aimodel_schema = AIModelSchema(many=False)
|
||||||
aimodels_schema = AIModelSchema(many=True, exclude=['timestamp', 'details'])
|
aimodels_schema = AIModelSchema(many=True, exclude=['timestamp', 'details'])
|
||||||
default_schema = DefaultSchema(many=False)
|
default_schema = DefaultSchema(many=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user