dhmeltzer commited on
Commit
0134dcf
1 Parent(s): 694ef2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def main():
48
  if user_input:
49
 
50
  for name, url in AWS_checkpoints.items():
51
- headers={'x-api-key': key}
52
 
53
  input_data = json.dumps({'inputs':user_input})
54
  r = requests.get(url,data=input_data,headers=headers)
 
48
  if user_input:
49
 
50
  for name, url in AWS_checkpoints.items():
51
+ headers={'x-api-key': st.secrets['aws-key']}
52
 
53
  input_data = json.dumps({'inputs':user_input})
54
  r = requests.get(url,data=input_data,headers=headers)