Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -156,7 +156,7 @@ def searchByRome(rome,index):
|
|
156 |
|
157 |
@cl.author_rename
|
158 |
def rename(orig_author: str):
|
159 |
-
rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "
|
160 |
return rename_dict.get(orig_author, orig_author)
|
161 |
|
162 |
@cl.action_callback("download")
|
|
|
156 |
|
157 |
@cl.author_rename
|
158 |
def rename(orig_author: str):
|
159 |
+
rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "HuggingFaceEndpoint": "Mistral AI 🤖"}
|
160 |
return rename_dict.get(orig_author, orig_author)
|
161 |
|
162 |
@cl.action_callback("download")
|