Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -54,7 +54,7 @@ os.environ['OPENAI_API_KEY'] = os.environ['OPENAI_API_KEY']
|
|
54 |
|
55 |
@cl.author_rename
|
56 |
def rename(orig_author: str):
|
57 |
-
rename_dict = {"
|
58 |
return rename_dict.get(orig_author, orig_author)
|
59 |
|
60 |
@cl.action_callback("download")
|
|
|
54 |
|
55 |
@cl.author_rename
|
56 |
def rename(orig_author: str):
|
57 |
+
rename_dict = {"DatapccSkillStream": "Datapcc", "ConversationalRetrievalChain": "Assistant conversationnel 💬", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "ChatOpenAI": "IA🤖"}
|
58 |
return rename_dict.get(orig_author, orig_author)
|
59 |
|
60 |
@cl.action_callback("download")
|