superdup95 commited on
Commit
0535fb6
1 Parent(s): 1e41ff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -169,6 +169,7 @@ async def get_key_aws_info(key):
169
  "iam_user_change_password": "",
170
  "aws_bedrock_full_access": "",
171
  "enabled_region": "",
 
172
  "cost_and_usage": key_avai[1]}
173
  if key_avai[0]:
174
  info_dict['username'] = key_avai[1]
@@ -179,7 +180,8 @@ async def get_key_aws_info(key):
179
  info_dict['iam_user_change_password'] = key_avai[6]
180
  info_dict['aws_bedrock_full_access'] = key_avai[7]
181
  info_dict['enabled_region'] = key_avai[8]
182
- info_dict['cost_and_usage'] = key_avai[9]
 
183
  return info_dict
184
 
185
  def get_key_openrouter_info(key):
@@ -244,4 +246,4 @@ with gr.Blocks() as demo:
244
 
245
  clear_button.click(fn=clear_inputs, inputs=[key], outputs=[key])
246
  submit_button.click(fn=sort_key, inputs=[key, rate_limit, claude_opus], outputs=[info], api_name="sort_key")
247
- demo.launch()
 
169
  "iam_user_change_password": "",
170
  "aws_bedrock_full_access": "",
171
  "enabled_region": "",
172
+ "models_usage": "",
173
  "cost_and_usage": key_avai[1]}
174
  if key_avai[0]:
175
  info_dict['username'] = key_avai[1]
 
180
  info_dict['iam_user_change_password'] = key_avai[6]
181
  info_dict['aws_bedrock_full_access'] = key_avai[7]
182
  info_dict['enabled_region'] = key_avai[8]
183
+ info_dict['models_usage'] = key_avai[9]
184
+ info_dict['cost_and_usage'] = key_avai[10]
185
  return info_dict
186
 
187
  def get_key_openrouter_info(key):
 
246
 
247
  clear_button.click(fn=clear_inputs, inputs=[key], outputs=[key])
248
  submit_button.click(fn=sort_key, inputs=[key, rate_limit, claude_opus], outputs=[info], api_name="sort_key")
249
+ demo.launch()