Spaces:
Runtime error
Runtime error
remove unused code
Browse files
app.py
CHANGED
@@ -38,8 +38,6 @@ init_settings = {
|
|
38 |
"presence_penalty": 0,
|
39 |
}
|
40 |
|
41 |
-
# embeddings = OpenAIEmbeddings(model="text-embedding-3-small")
|
42 |
-
|
43 |
def tiktoken_len(text):
|
44 |
tokens = tiktoken.encoding_for_model("gpt-3.5-turbo").encode(
|
45 |
text,
|
|
|
38 |
"presence_penalty": 0,
|
39 |
}
|
40 |
|
|
|
|
|
41 |
def tiktoken_len(text):
|
42 |
tokens = tiktoken.encoding_for_model("gpt-3.5-turbo").encode(
|
43 |
text,
|