Anne314159 commited on
Commit
de811ae
·
verified ·
1 Parent(s): 2d0a178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def page_article_to_social_post():
141
 
142
  # Corrected Function to get a route from OpenRouteService
143
  def get_route(start_coord, end_coord, api_key):
144
- api_key = os.getenv('OPENROUTE_API')
145
  url = "https://api.openrouteservice.org/v2/directions/driving-car"
146
  headers = {
147
  'Authorization': api_key,
 
141
 
142
  # Corrected Function to get a route from OpenRouteService
143
  def get_route(start_coord, end_coord, api_key):
144
+ api_key = os.getenv('OPENSTREET_API')
145
  url = "https://api.openrouteservice.org/v2/directions/driving-car"
146
  headers = {
147
  'Authorization': api_key,