Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +2 -0
functions.py
CHANGED
@@ -14,6 +14,8 @@ from dotenv import load_dotenv
|
|
14 |
# Load environment variables from .env file
|
15 |
load_dotenv()
|
16 |
|
|
|
|
|
17 |
### SETUP FUNCTIONS ###
|
18 |
def tiktoken_len(text):
|
19 |
tokens = tiktoken.encoding_for_model("gpt-4o").encode(
|
|
|
14 |
# Load environment variables from .env file
|
15 |
load_dotenv()
|
16 |
|
17 |
+
print(os.getenv("AZURE_OPENAI_ENDPOINT"))
|
18 |
+
|
19 |
### SETUP FUNCTIONS ###
|
20 |
def tiktoken_len(text):
|
21 |
tokens = tiktoken.encoding_for_model("gpt-4o").encode(
|