Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -1,18 +1,12 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
|
| 3 |
set -e
|
| 4 |
|
| 5 |
-
echo "Finding llama.cpp binary..."
|
| 6 |
-
|
| 7 |
-
LLAMA_BIN=$(which llama || which main || find / -name main 2>/dev/null | head -n 1)
|
| 8 |
-
|
| 9 |
-
echo "Using binary: $LLAMA_BIN"
|
| 10 |
-
|
| 11 |
echo "Starting llama.cpp..."
|
| 12 |
|
| 13 |
-
|
|
|
|
| 14 |
--server \
|
| 15 |
-
-m /
|
| 16 |
--host 0.0.0.0 \
|
| 17 |
--port 7860 \
|
| 18 |
-t 2 \
|
|
|
|
| 1 |
#!/bin/bash
|
|
|
|
| 2 |
set -e
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
echo "Starting llama.cpp..."
|
| 5 |
|
| 6 |
+
# REAL binary location inside image
|
| 7 |
+
/app/main \
|
| 8 |
--server \
|
| 9 |
+
-m /workspace/rahul7star_Qwen3-4B-Thinking-2509-AI-Storey-Full-Q5_K_M.gguf \
|
| 10 |
--host 0.0.0.0 \
|
| 11 |
--port 7860 \
|
| 12 |
-t 2 \
|