Spaces:
Runtime error
Runtime error
Prateeknlp
commited on
Commit
•
f8fab36
1
Parent(s):
5f76d00
Update app.py
Browse files
app.py
CHANGED
@@ -820,7 +820,7 @@ class ConversationBot:
|
|
820 |
if 'ImageCaptioning' not in load_dict:
|
821 |
raise ValueError("You have to load ImageCaptioning as a basic function for VisualChatGPT")
|
822 |
|
823 |
-
self.llm = Cohere(model="summarize-xlarge", temperature=0.7,max_tokens= 400)
|
824 |
self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
|
825 |
|
826 |
self.models = dict()
|
|
|
820 |
if 'ImageCaptioning' not in load_dict:
|
821 |
raise ValueError("You have to load ImageCaptioning as a basic function for VisualChatGPT")
|
822 |
|
823 |
+
self.llm = Cohere(model="summarize-xlarge", cohere_api_key="vGCEakgncpouo9Nz0rsJ0Bq7XRvwNgTCZMKSohlg", temperature=0.7,max_tokens= 400)
|
824 |
self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
|
825 |
|
826 |
self.models = dict()
|