YchKhan commited on
Commit
316e9b1
1 Parent(s): 6312ae6

Update users_management.py

Browse files
Files changed (1) hide show
  1. users_management.py +3 -1
users_management.py CHANGED
@@ -86,4 +86,6 @@ def auth_user(username, password):
86
  def logout():
87
  username = 'Guest'
88
  user = users.get(username)
89
- return user, f"## Hi {username}!", gr.update(choices=user['history']['prompts']), gr.update(choices=user['history']['keywords'])
 
 
 
86
  def logout():
87
  username = 'Guest'
88
  user = users.get(username)
89
+ return user, f"## Hi {username}!", gr.update(choices=user['history']['prompts']), gr.update(choices=user['history']['keywords'])
90
+
91
+ users = load_from_json()