This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vocode/streaming/action/factory.py b/vocode/streaming/action/factory.py | |
| index dd85ea2..c2173e3 100644 | |
| --- a/vocode/streaming/action/factory.py | |
| +++ b/vocode/streaming/action/factory.py | |
| @@ -3,6 +3,7 @@ from vocode.streaming.action.nylas_send_email import ( | |
| NylasSendEmail, | |
| NylasSendEmailActionConfig, | |
| ) | |
| +from vocode.streaming.action.transfer_call import TransferCall, TransferCallActionConfig | |
| from vocode.streaming.models.actions import ActionConfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| import logging | |
| import signal | |
| from vocode.conversation import Conversation | |
| from vocode.helpers import create_microphone_input_and_speaker_output | |
| from vocode.models.transcriber import DeepgramTranscriberConfig | |
| from vocode.models.agent import ChatGPTAgentConfig | |
| from vocode.models.synthesizer import AzureSynthesizerConfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import json | |
| import time | |
| from pathlib import Path | |
| from nba_api.stats.static import teams | |
| from nba_api.stats.endpoints import leaguegamefinder | |
| from nba_api.stats.library.parameters import Season | |
| from nba_api.stats.library.parameters import SeasonType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import re | |
| VALUE_OF_BET = 0.5 | |
| def moneyline_to_odds(s): | |
| assert re.match('[-+]\d+', s) | |
| sign, val = s[0], int(s[1:]) | |
| if sign == '-': | |
| return 100/val |