Update 'face_recognition/app/app.py'
This commit is contained in:
parent
6acf3a99fa
commit
0eff98c48c
@ -27,7 +27,7 @@ def new_user_id():
|
|||||||
demo_object = ['test']
|
demo_object = ['test']
|
||||||
with open('/tmp/demo_object.pkl', 'wb') as f:
|
with open('/tmp/demo_object.pkl', 'wb') as f:
|
||||||
pickle.dump(demo_object, f)
|
pickle.dump(demo_object, f)
|
||||||
(minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
||||||
#funktionalität implementieres s3 Platzhalterdatei anlegen für user,
|
#funktionalität implementieres s3 Platzhalterdatei anlegen für user,
|
||||||
return(id)
|
return(id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user