remove debugs
This commit is contained in:
2
ai.py
2
ai.py
@@ -69,7 +69,6 @@ def run_ai_on_import():
|
||||
d = Dir.query.join(PathDirLink).filter(PathDirLink.path_id==p.id).filter(Dir.rel_path=='').first()
|
||||
jex.append( JobExtra( name=f"eid-{path_cnt}", value=f"{d.eid}" ) )
|
||||
path_cnt+=1
|
||||
print(jex)
|
||||
job=NewJob( "run_ai_on", 0, None, jex )
|
||||
st.SetMessage( f"Created <a href=/job/{job.id}>Job #{job.id}</a> to Look for face(s) in import path(s)")
|
||||
return render_template("base.html")
|
||||
@@ -85,7 +84,6 @@ def run_ai_on_storage():
|
||||
d = Dir.query.join(PathDirLink).filter(PathDirLink.path_id==p.id).filter(Dir.rel_path=='').first()
|
||||
jex.append( JobExtra( name=f"eid-{path_cnt}", value=f"{d.eid}" ) )
|
||||
path_cnt+=1
|
||||
print(jex)
|
||||
job=NewJob( "run_ai_on", 0, None, jex )
|
||||
st.SetMessage( f"Created <a href=/job/{job.id}>Job #{job.id}</a> to Look for face(s) in storage path(s)")
|
||||
return render_template("base.html")
|
||||
|
||||
Reference in New Issue
Block a user