Spaces:
Sleeping
Sleeping
Commit
·
a8d0107
1
Parent(s):
1d10ce8
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,8 @@ def run_therapy_session(group_size, topic):
|
|
| 18 |
role='Therapist',
|
| 19 |
goal='Facilitate a supportive group discussion',
|
| 20 |
backstory='An experienced therapist specializing in group dynamics.',
|
| 21 |
-
verbose=True
|
|
|
|
| 22 |
)
|
| 23 |
# Create participant agents
|
| 24 |
participants = [Agent(
|
|
@@ -39,8 +40,7 @@ def run_therapy_session(group_size, topic):
|
|
| 39 |
agents=participants,
|
| 40 |
tasks=tasks,
|
| 41 |
process=Process.sequential,
|
| 42 |
-
verbose=True
|
| 43 |
-
allow_delegation=False
|
| 44 |
)
|
| 45 |
|
| 46 |
# Start the group therapy session
|
|
|
|
| 18 |
role='Therapist',
|
| 19 |
goal='Facilitate a supportive group discussion',
|
| 20 |
backstory='An experienced therapist specializing in group dynamics.',
|
| 21 |
+
verbose=True,
|
| 22 |
+
allow_delegation=False
|
| 23 |
)
|
| 24 |
# Create participant agents
|
| 25 |
participants = [Agent(
|
|
|
|
| 40 |
agents=participants,
|
| 41 |
tasks=tasks,
|
| 42 |
process=Process.sequential,
|
| 43 |
+
verbose=True
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
# Start the group therapy session
|