Skip to content

Commit b571170

Browse files
authored
Update ui.py
1 parent a4911ee commit b571170

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/ui.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,7 @@ def update_username():
688688
if response.status_code == 200:
689689
items = []
690690
for item in json.loads(response.text):
691-
items.append([item['username'], item['password'],
692-
item['options'] if 'options' in item else '', shared.get_sagemaker_endpoints(item)])
691+
items.append([item['username'], item['password'], item['options'] if 'options' in item else '', shared.get_sagemaker_endpoints(item)])
693692
return gr.update(value=shared.username), gr.update(value=items if items != [] else None)
694693
else:
695694
return gr.update(value=shared.username), gr.update()

0 commit comments

Comments
 (0)