Skip to content

Commit 904a466

Browse files
committed
♻️ Clean up download_replicate_schemas
1 parent 3e7e25c commit 904a466

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

replicate-tools/create_replicate_schemas.py renamed to replicate-tools/download_replicate_schemas.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# download_schemas.py
2-
31
import json
42
import logging
53
import os
@@ -19,8 +17,7 @@
1917
ENUM_SCHEMA_FILENAME = 'ReplicateModels.json'
2018

2119
# Read API token from environment variable
22-
# API_TOKEN = os.getenv(API_TOKEN_ENV)
23-
API_TOKEN = 'r8_1lOq05n1XQM1kWQIHHQQe9bNL8sw57E3yFeOd'
20+
API_TOKEN = os.getenv(API_TOKEN_ENV)
2421
if not API_TOKEN:
2522
raise RuntimeError(f'Please set the {API_TOKEN_ENV} environment variable')
2623

0 commit comments

Comments
 (0)