Spaces:
Sleeping
Sleeping
Commit ยท
52c032a
1
Parent(s): 1097d5f
Update main.py
Browse files
main.py
CHANGED
|
@@ -476,12 +476,12 @@ async def setup_agent(settings):
|
|
| 476 |
taskFCA2.status = cl.TaskStatus.DONE
|
| 477 |
await FCA.send()
|
| 478 |
await cl.sleep(2)
|
| 479 |
-
await FCA.remove()
|
| 480 |
-
await cl.sleep(2)
|
| 481 |
await cl.Message(
|
| 482 |
author="๐๐๐",content="Fiche activitรฉ : " + activiteSingle + "\n\n" + completion_FCA.completion
|
| 483 |
).send()
|
| 484 |
cl.user_session.set("FCA" + romeListArray[0], completion_FCA.completion)
|
|
|
|
|
|
|
| 485 |
else:
|
| 486 |
await cl.Message(
|
| 487 |
author="๐๐๐",content="โ Vous n'avez pas encore crรฉรฉ de Fiche synoptique!"
|
|
@@ -514,12 +514,12 @@ async def setup_agent(settings):
|
|
| 514 |
taskFCC2.status = cl.TaskStatus.DONE
|
| 515 |
await FCC.send()
|
| 516 |
await cl.sleep(2)
|
| 517 |
-
await FCC.remove()
|
| 518 |
-
await cl.sleep(2)
|
| 519 |
await cl.Message(
|
| 520 |
author="๐๐๐",content="Fiche compรฉtence : " + competenceSingle + "\n\n" + completion_FCC.completion
|
| 521 |
).send()
|
| 522 |
cl.user_session.set("FCC" + romeListArray[0], completion_FCC.completion)
|
|
|
|
|
|
|
| 523 |
else:
|
| 524 |
await cl.Message(
|
| 525 |
author="๐๐๐",content="โ Vous n'avez pas encore crรฉรฉ de Fiche synoptique!"
|
|
|
|
| 476 |
taskFCA2.status = cl.TaskStatus.DONE
|
| 477 |
await FCA.send()
|
| 478 |
await cl.sleep(2)
|
|
|
|
|
|
|
| 479 |
await cl.Message(
|
| 480 |
author="๐๐๐",content="Fiche activitรฉ : " + activiteSingle + "\n\n" + completion_FCA.completion
|
| 481 |
).send()
|
| 482 |
cl.user_session.set("FCA" + romeListArray[0], completion_FCA.completion)
|
| 483 |
+
await cl.sleep(2)
|
| 484 |
+
await FCA.remove()
|
| 485 |
else:
|
| 486 |
await cl.Message(
|
| 487 |
author="๐๐๐",content="โ Vous n'avez pas encore crรฉรฉ de Fiche synoptique!"
|
|
|
|
| 514 |
taskFCC2.status = cl.TaskStatus.DONE
|
| 515 |
await FCC.send()
|
| 516 |
await cl.sleep(2)
|
|
|
|
|
|
|
| 517 |
await cl.Message(
|
| 518 |
author="๐๐๐",content="Fiche compรฉtence : " + competenceSingle + "\n\n" + completion_FCC.completion
|
| 519 |
).send()
|
| 520 |
cl.user_session.set("FCC" + romeListArray[0], completion_FCC.completion)
|
| 521 |
+
await cl.sleep(2)
|
| 522 |
+
await FCC.remove()
|
| 523 |
else:
|
| 524 |
await cl.Message(
|
| 525 |
author="๐๐๐",content="โ Vous n'avez pas encore crรฉรฉ de Fiche synoptique!"
|