Spaces:
Running
Running
Echo-ai
commited on
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
#!/bin/bash
|
2 |
# Start Ollama in the background
|
3 |
ollama serve &
|
4 |
#ollama serve --port 7860 --host 0.0.0.0 &
|
@@ -21,3 +21,4 @@ done
|
|
21 |
echo "Ollama is ready."
|
22 |
|
23 |
# Start the FastAPI server
|
|
|
|
1 |
+
uvicorn app:app --host 0.0.0.0 --port 7860#!/bin/bash
|
2 |
# Start Ollama in the background
|
3 |
ollama serve &
|
4 |
#ollama serve --port 7860 --host 0.0.0.0 &
|
|
|
21 |
echo "Ollama is ready."
|
22 |
|
23 |
# Start the FastAPI server
|
24 |
+
uvicorn app:app --host 0.0.0.0 --port 7860
|