Skip to content

Commit

Permalink
Remove key print
Browse files Browse the repository at this point in the history
  • Loading branch information
irg1008 committed Sep 27, 2022
1 parent 785d8cf commit 29120b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fits/hf/client/hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
YODA_FITS_MODEL = str(config("YODA_FITS_MODEL"))


def _query(payload: FITSInferPayload, url: str):
def query(payload: FITSInferPayload, url: str):
request_url = f"{HF_BASE_URL}/{url}"
headers = {"Authorization": f"Bearer {HF_API_KEY}"}
response = requests.post(request_url, headers=headers, json=payload)
Expand Down

0 comments on commit 29120b4

Please sign in to comment.