Spaces:
Sleeping
Sleeping
Update users_management.py
Browse files- users_management.py +1 -1
users_management.py
CHANGED
@@ -72,7 +72,7 @@ def update_json(user, prompt, keywords):
|
|
72 |
username = user['name']
|
73 |
|
74 |
if username != 'Guest':
|
75 |
-
add_user_pref(username,
|
76 |
add_user_pref(username, keywords, users,input_type='keywords')
|
77 |
save_user_data_to_json(username)
|
78 |
|
|
|
72 |
username = user['name']
|
73 |
|
74 |
if username != 'Guest':
|
75 |
+
add_user_pref(username, prompt, users,input_type='prompts')
|
76 |
add_user_pref(username, keywords, users,input_type='keywords')
|
77 |
save_user_data_to_json(username)
|
78 |
|