feat: Set default model name if HF_MODEL_NAME environment variable is not set

This commit is contained in:
Simon Larsen
2024-07-12 20:40:46 +00:00
parent d0e31ad95e
commit d97211d52c

View File

@@ -26,8 +26,6 @@ if not HF_TOKEN:
print("HF_TOKEN env var is required. This is the Hugging Face API token. You can get it from https://huggingface.co/account/overview. Exiting..")
exit()
print(f"ONEUPTIME_URL: {ONEUPTIME_URL}")
# TODO: Store this in redis down the line.
items_pending = {}
items_processed = {}