Ludovicollin commited on
Commit
eeb7cb0
·
verified ·
1 Parent(s): b8cb967

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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", "Chat OpenAI": "🤖 IA"}
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")