Spaces:
Runtime error
Runtime error
Commit
·
f3323f6
1
Parent(s):
f04a946
permissions problems
Browse files- gradio_app/interface.py +1 -6
gradio_app/interface.py
CHANGED
@@ -20,12 +20,7 @@ def display_output():
|
|
20 |
|
21 |
def run_the_swarm():
|
22 |
# Launch the app in the background
|
23 |
-
|
24 |
-
command = [f"{str(root_dir)}\\run.bat"]
|
25 |
-
else:
|
26 |
-
command = [f"{str(root_dir)}/run.sh"]
|
27 |
-
proc = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
28 |
-
(out, err) = proc.communicate()
|
29 |
|
30 |
def swarm_interface(swarm_role, swarm_global_goal, swarm_goals, n_managers, n_analysts, n_googlers):
|
31 |
global PROC
|
|
|
20 |
|
21 |
def run_the_swarm():
|
22 |
# Launch the app in the background
|
23 |
+
run_swarm()
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
def swarm_interface(swarm_role, swarm_global_goal, swarm_goals, n_managers, n_analysts, n_googlers):
|
26 |
global PROC
|