Spaces:
Sleeping
Sleeping
Synced repo using 'sync_with_huggingface' Github Action
Browse files- app.py +5 -0
- requirements.txt +3 -1
- swarms/structs/ui/ui.py +3 -3
app.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from swarms.structs.ui.ui import create_app
|
2 |
+
|
3 |
+
if __name__ == "__main__":
|
4 |
+
app = create_app()
|
5 |
+
app.launch()
|
requirements.txt
CHANGED
@@ -27,4 +27,6 @@ aiofiles
|
|
27 |
clusterops
|
28 |
reportlab
|
29 |
doc-master
|
30 |
-
termcolor
|
|
|
|
|
|
27 |
clusterops
|
28 |
reportlab
|
29 |
doc-master
|
30 |
+
termcolor
|
31 |
+
gradio
|
32 |
+
huggingface_hub
|
swarms/structs/ui/ui.py
CHANGED
@@ -1802,6 +1802,6 @@ def create_app():
|
|
1802 |
|
1803 |
return ui.build()
|
1804 |
|
1805 |
-
if __name__ == "__main__":
|
1806 |
-
|
1807 |
-
|
|
|
1802 |
|
1803 |
return ui.build()
|
1804 |
|
1805 |
+
# if __name__ == "__main__":
|
1806 |
+
# app = create_app()
|
1807 |
+
# app.launch()
|