Spaces:
Runtime error
Runtime error
Commit
·
6aa2bf0
1
Parent(s):
a69441c
Upload 3 files
Browse files- gradio_app/interface.py +1 -1
gradio_app/interface.py
CHANGED
@@ -19,7 +19,7 @@ def display_output():
|
|
19 |
return read_swarm_output()
|
20 |
|
21 |
def swarm_interface(swarm_role, swarm_global_goal, swarm_goals, n_managers, n_analysts, n_googlers):
|
22 |
-
global
|
23 |
# please, don't judge me for this hardcoding. it's 3am and it's the first time i use gradio =)))
|
24 |
# Call the necessary set_ functions with the user inputs
|
25 |
set_swarm_role(swarm_role)
|
|
|
19 |
return read_swarm_output()
|
20 |
|
21 |
def swarm_interface(swarm_role, swarm_global_goal, swarm_goals, n_managers, n_analysts, n_googlers):
|
22 |
+
global SWARM_IS_RUNNING
|
23 |
# please, don't judge me for this hardcoding. it's 3am and it's the first time i use gradio =)))
|
24 |
# Call the necessary set_ functions with the user inputs
|
25 |
set_swarm_role(swarm_role)
|