Spaces:
Sleeping
Sleeping
Create start.sh
Browse files
start.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Start unoserver in the background
|
4 |
+
unoserver --interface 0.0.0.0 &
|
5 |
+
|
6 |
+
# Wait for unoserver to start
|
7 |
+
sleep 5
|
8 |
+
|
9 |
+
# Start FastAPI application
|
10 |
+
uvicorn app:app --host 0.0.0.0 --port 7860
|