mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: Set default model name if HF_MODEL_NAME environment variable is not set
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user