Update App/Generate/utils/Cohere.py
Browse files
App/Generate/utils/Cohere.py
CHANGED
@@ -23,7 +23,7 @@ class VideoOutput(BaseModel):
|
|
23 |
# Patching the Cohere client with the instructor for enhanced capabilities
|
24 |
client = instructor.from_cohere(
|
25 |
cohere.Client(os.environ.get("COHERE_API", "RANDOM_STRING")),
|
26 |
-
max_tokens=5000,
|
27 |
model="command-r-plus",
|
28 |
)
|
29 |
|
|
|
23 |
# Patching the Cohere client with the instructor for enhanced capabilities
|
24 |
client = instructor.from_cohere(
|
25 |
cohere.Client(os.environ.get("COHERE_API", "RANDOM_STRING")),
|
26 |
+
# max_tokens=5000,
|
27 |
model="command-r-plus",
|
28 |
)
|
29 |
|