sscnitdgp commited on
Commit
89f4e64
·
verified ·
1 Parent(s): 95c9d13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def check_carbon_intensity(name: str) -> dict:
22
  }
23
 
24
  try:
25
- response = requests.get('https://carbonaggr-ap04s.samsungiots.com/v1/carbon-intensity/latest?zone=AU-NSW', headers=headers)
26
  response.raise_for_status() # Raise an exception for HTTP errors
27
  return response.json()
28
  except requests.exceptions.RequestException as e:
 
22
  }
23
 
24
  try:
25
+ response = requests.get('httpsmmmmmNSW', headers=headers)
26
  response.raise_for_status() # Raise an exception for HTTP errors
27
  return response.json()
28
  except requests.exceptions.RequestException as e: