Ludovicollin commited on
Commit
14318ae
·
verified ·
1 Parent(s): b363a84

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = {"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")
 
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")