nischal95 commited on
Commit
0878102
·
1 Parent(s): 1ef0ac6

created test user

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -192,6 +192,9 @@ def check_auth(username, password):
192
  elif (user == 'mike' and password == 'veytel'):
193
  create_csv()
194
  return True
 
 
 
195
  elif (user == 'nischal' and password == 'veytel'):
196
  create_csv()
197
  return True
@@ -396,8 +399,8 @@ with gr.Blocks() as demo:
396
  update_layout(image_id, index)
397
 
398
  if __name__ == "__main__":
399
- # demo.launch(auth=check_auth)
400
- demo.launch()
401
 
402
 
403
 
 
192
  elif (user == 'mike' and password == 'veytel'):
193
  create_csv()
194
  return True
195
+ elif (user == 'test' and password == 'test'):
196
+ create_csv()
197
+ return True
198
  elif (user == 'nischal' and password == 'veytel'):
199
  create_csv()
200
  return True
 
399
  update_layout(image_id, index)
400
 
401
  if __name__ == "__main__":
402
+ demo.launch(auth=check_auth)
403
+
404
 
405
 
406