pratikshahp
commited on
Update helper.py
Browse files
helper.py
CHANGED
@@ -7,4 +7,7 @@ def load_env():
|
|
7 |
_ = load_dotenv(find_dotenv())
|
8 |
|
9 |
# Load the Together API key
|
10 |
-
def
|
|
|
|
|
|
|
|
7 |
_ = load_dotenv(find_dotenv())
|
8 |
|
9 |
# Load the Together API key
|
10 |
+
def get_together_api_key():
|
11 |
+
load_env()
|
12 |
+
together_api_key = os.getenv("TOGETHER_API_KEY")
|
13 |
+
return together_api_key
|