Spaces:
Sleeping
Sleeping
Gradio launch improvements
Browse filesLimited gradio concurrency.
app.py
CHANGED
@@ -114,4 +114,12 @@ agent = CodeAgent(
|
|
114 |
)
|
115 |
|
116 |
|
117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
)
|
115 |
|
116 |
|
117 |
+
if __name__ == "__main__":
|
118 |
+
ui = GradioUI(agent)
|
119 |
+
ui.launch(
|
120 |
+
server_port=7860,
|
121 |
+
share=True,
|
122 |
+
enable_queue=True,
|
123 |
+
max_threads=1,
|
124 |
+
concurrency_count=1
|
125 |
+
)
|