Skip to content

Commit

Permalink
Update call-retrain.py
Browse files Browse the repository at this point in the history
Co-authored-by: Aarni Koskela <[email protected]>
  • Loading branch information
SofiaChar and akx authored Jan 25, 2024
1 parent ea2f6f3 commit eb8ee37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions call-retrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import requests

api_token = os.environ.get("VALOHAI_API_TOKEN")
project_id = os.environ.get("VH_PROJECT_ID")
api_token = os.environ["VALOHAI_API_TOKEN"]
project_id = os.environ["VH_PROJECT_ID"]

resp = requests.request(
url="https://app.valohai.com/api/v0/pipelines/create-from-template/",
Expand Down

0 comments on commit eb8ee37

Please sign in to comment.