Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions score_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def load_file2list(path):

def mit_openai_api(**kwargs):
if not os.environ.get('MIT_SPIDER_TOKEN', None):
print("NO MIT_SPIDER_TOKEN FOUNDplease set export MIT_SPIDER_TOKEN=<YOUR TOKEN>")
print("NO MIT_SPIDER_TOKEN FOUND, please set export MIT_SPIDER_TOKEN=<YOUR TOKEN>")
if not os.environ.get('MIT_SPIDER_URL', None):
print("NO MIT_SPIDER_URL FOUNDplease set export MIT_SPIDER_URL=<YOUR URL>")
print("NO MIT_SPIDER_URL FOUND, please set export MIT_SPIDER_URL=<YOUR URL>")
mit_spider_config = {
"url": os.environ.get("MIT_SPIDER_URL", None),
"header": {
Expand Down