Spaces:
Runtime error
Runtime error
Update main.py
Browse files53 unmodified lines5455565758596053 unmodified lines@cl.author_renamedef rename(orig_author: str):rename_dict = {"Datapccskillstream": "Datapcc", "ConversationalRetrievalChain": "Assistant conversationnel 💬", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "ChatOpenAI": "IA🤖"}return rename_dict.get(orig_author, orig_author)@cl.action_callback("download")53 unmodified lines5455565758596053 unmodified lines@cl.author_renamedef rename(orig_author: str):rename_dict = {"DatapccSkillStream": "Datapcc", "ConversationalRetrievalChain": "Assistant conversationnel 💬", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "ChatOpenAI": "IA🤖"}return rename_dict.get(orig_author, orig_author)@cl.action_callback("download")
main.py+1-1