Spaces:
Runtime error
Runtime error
Commit
·
216cf06
1
Parent(s):
156ecd4
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ repo = Repository(
|
|
29 |
)
|
30 |
|
31 |
def predict(place, hugging_secret):
|
32 |
-
if secret_key !=
|
33 |
return "INVALID SECRET - you cannot save places"
|
34 |
|
35 |
geocode_result = google_maps_client.geocode(place)
|
|
|
29 |
)
|
30 |
|
31 |
def predict(place, hugging_secret):
|
32 |
+
if secret_key != OS_API_KEY:
|
33 |
return "INVALID SECRET - you cannot save places"
|
34 |
|
35 |
geocode_result = google_maps_client.geocode(place)
|