NeonBohdan commited on
Commit
0dcb7a0
1 Parent(s): 648a832

Fixed Gemini counts letters instead of tokens

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ config = {
41
  "key_path": key_path,
42
  "role": role,
43
  "context_depth": 3,
44
- "max_tokens": 256,
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