myatsu commited on
Commit
48c690b
·
verified ·
1 Parent(s): c6c1507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_weather(city: str) -> str: #it's import to specify the return type
18
  try:
19
  api_url = f"https://api.weather.com/v1/location/{city}"
20
  headers = {
21
- "Authorization" : "Bearer fc5de4ef7812c4aa77860ca1874f8ef9"
22
  }
23
  response = requests.get(api_url, headers = headers, timeout = 10)
24
  if response.status_code ==200:
 
18
  try:
19
  api_url = f"https://api.weather.com/v1/location/{city}"
20
  headers = {
21
+ "Authorization" : "Bearer 630428cf0ecba0c76b121473342aa8ca"
22
  }
23
  response = requests.get(api_url, headers = headers, timeout = 10)
24
  if response.status_code ==200: