Spaces:
Sleeping
Sleeping
NeonBohdan
commited on
Commit
•
0dcb7a0
1
Parent(s):
648a832
Fixed Gemini counts letters instead of tokens
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ config = {
|
|
41 |
"key_path": key_path,
|
42 |
"role": role,
|
43 |
"context_depth": 3,
|
44 |
-
"max_tokens":
|
45 |
}
|
46 |
gemini = Gemini(config)
|
47 |
|
|
|
41 |
"key_path": key_path,
|
42 |
"role": role,
|
43 |
"context_depth": 3,
|
44 |
+
"max_tokens": 1024,
|
45 |
}
|
46 |
gemini = Gemini(config)
|
47 |
|