Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -619,7 +619,7 @@ async def construction_FCS(romeListArray,settings):
|
|
619 |
config=RunnableConfig(callbacks=[cl.AsyncLangchainCallbackHandler(stream_final_answer=True)])):
|
620 |
await msg.stream_token(chunk)
|
621 |
completionFCS = msg.content
|
622 |
-
await cl.sleep(
|
623 |
arrayActivites = completionFCS.split('activités : ')
|
624 |
arrayOfActivites = arrayActivites[1].split('compétences : ')
|
625 |
arrayOfCompetences = completionFCS.split('compétences : ')
|
|
|
619 |
config=RunnableConfig(callbacks=[cl.AsyncLangchainCallbackHandler(stream_final_answer=True)])):
|
620 |
await msg.stream_token(chunk)
|
621 |
completionFCS = msg.content
|
622 |
+
await cl.sleep(1)
|
623 |
arrayActivites = completionFCS.split('activités : ')
|
624 |
arrayOfActivites = arrayActivites[1].split('compétences : ')
|
625 |
arrayOfCompetences = completionFCS.split('compétences : ')
|