Skip to content

Commit d6516d2

Browse files
main.py: modal.Secret.from_name(gmp_api_key)
1 parent cb4dd9b commit d6516d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def generate_historical_significance(place: pastforward.PastforwardPlace) -> str
2626
return f"{place.name} is historically significant" if random.random() < 0.5 else ""
2727

2828

29-
@app.function(secrets=[modal.Secret.from_dotenv()])
29+
@app.function(secrets=[modal.Secret.from_name(gmp_api_key)])
3030
@modal.asgi_app()
3131
def api():
3232
fastapi_app = fastapi.FastAPI()

0 commit comments

Comments
 (0)