changing options on files_*, search, also next/prev all now use POST->redirect model, so should allow back/forward browser buttons to work - commit so we can test in PROD
This commit is contained in:
@@ -211,6 +211,7 @@ def add_refimg():
|
||||
settings = Settings.query.first()
|
||||
model=AIModel.query.get(settings.default_refimg_model)
|
||||
refimg.face, face_locn = GenFace( fname, model=model.name )
|
||||
print( f"GenFace -> locn={face_locn}, locn[0][0]={face_locn[0][0]}" )
|
||||
refimg.face_locn = json.dumps(face_locn)
|
||||
refimg.model_used = settings.default_refimg_model
|
||||
refimg.created_on = time.time()
|
||||
|
||||
Reference in New Issue
Block a user