datacipen commited on
Commit
ecc869a
1 Parent(s): b02567c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -362,7 +362,7 @@ def rename(orig_author: str):
362
  rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "HuggingFaceEndpoint": "Mistral AI 🤖"}
363
  return rename_dict.get(orig_author, orig_author)
364
 
365
- @cl.action_callback("listOfEntreprise")
366
  async def on_action(action):
367
  romeListArray = ast.literal_eval(action.value)
368
  stringLsitOfEntreprise = await creation_liste_entreprises(arrayOfSecteur(romeListArray))
 
362
  rename_dict = {"ConversationalRetrievalChain": "💬 Assistant conversationnel", "Retriever": "Agent conversationnel", "StuffDocumentsChain": "Chaîne de documents", "LLMChain": "Agent", "HuggingFaceEndpoint": "Mistral AI 🤖"}
363
  return rename_dict.get(orig_author, orig_author)
364
 
365
+ @cl.action_callback("listOfEntreprises")
366
  async def on_action(action):
367
  romeListArray = ast.literal_eval(action.value)
368
  stringLsitOfEntreprise = await creation_liste_entreprises(arrayOfSecteur(romeListArray))