Update 'face_recognition/app/app.py'
start commenting code
This commit is contained in:
		@@ -21,11 +21,11 @@ def hello_docker():
 | 
			
		||||
def access_minio():
 | 
			
		||||
    for bucket in minioClient.list_buckets():
 | 
			
		||||
        print(bucket.name, bucket.creation_date, flush=True)
 | 
			
		||||
    return('Connection Succesfull')
 | 
			
		||||
    return 'Connection Succesfull'
 | 
			
		||||
  
 | 
			
		||||
@app.route('/new_user_id')
 | 
			
		||||
def new_user_id():
 | 
			
		||||
#demo objekt  speichern um id zu 'speichern'. Später mit if (type(object)==list oä überschreiben mit face_encoding.pkl
 | 
			
		||||
#save demo object to reserve id in minio
 | 
			
		||||
    id = None
 | 
			
		||||
    for limited_try in range(0,5):
 | 
			
		||||
        id = str(uuid.uuid4())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user