Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
bd04709
1
Parent(s):
b413e4c
increase concurrency limit
Browse files
app.py
CHANGED
@@ -929,8 +929,6 @@ def main():
|
|
929 |
],
|
930 |
outputs=[output_traj, output_text, reproduction_script, explanation],
|
931 |
scroll_to_output=True,
|
932 |
-
concurrency_limit=16,
|
933 |
-
concurrency_id="simulation_queue",
|
934 |
)
|
935 |
optimization_button.click(
|
936 |
run_relaxation_simulation,
|
@@ -945,7 +943,6 @@ def main():
|
|
945 |
],
|
946 |
outputs=[output_traj, output_text, reproduction_script, explanation],
|
947 |
scroll_to_output=True,
|
948 |
-
concurrency_id="simulation_queue",
|
949 |
)
|
950 |
|
951 |
# Change the tab based on the current task name
|
@@ -985,6 +982,7 @@ def main():
|
|
985 |
outputs=[optimization_button, md_button, structure_validation],
|
986 |
)
|
987 |
|
|
|
988 |
demo.launch()
|
989 |
|
990 |
|
|
|
929 |
],
|
930 |
outputs=[output_traj, output_text, reproduction_script, explanation],
|
931 |
scroll_to_output=True,
|
|
|
|
|
932 |
)
|
933 |
optimization_button.click(
|
934 |
run_relaxation_simulation,
|
|
|
943 |
],
|
944 |
outputs=[output_traj, output_text, reproduction_script, explanation],
|
945 |
scroll_to_output=True,
|
|
|
946 |
)
|
947 |
|
948 |
# Change the tab based on the current task name
|
|
|
982 |
outputs=[optimization_button, md_button, structure_validation],
|
983 |
)
|
984 |
|
985 |
+
demo.queue(default_concurrency_limit=16)
|
986 |
demo.launch()
|
987 |
|
988 |
|