Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -34,7 +34,7 @@ os.environ['OPENAI_API_KEY'] = os.environ['OPENAI_API_KEY']
|
|
34 |
|
35 |
@cl.author_rename
|
36 |
def rename(orig_author: str):
|
37 |
-
rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "
|
38 |
return rename_dict.get(orig_author, orig_author)
|
39 |
|
40 |
@cl.action_callback("download")
|
|
|
34 |
|
35 |
@cl.author_rename
|
36 |
def rename(orig_author: str):
|
37 |
+
rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "ChatOpenAI": "IA🤖"}
|
38 |
return rename_dict.get(orig_author, orig_author)
|
39 |
|
40 |
@cl.action_callback("download")
|