Update app.py
Browse files
app.py
CHANGED
|
@@ -55,10 +55,10 @@ def setup_llama():
|
|
| 55 |
def start_server(model_path):
|
| 56 |
subprocess.Popen([
|
| 57 |
"./build/bin/llama-server",
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
], cwd=LLAMA_DIR)
|
| 63 |
|
| 64 |
|
|
|
|
| 55 |
def start_server(model_path):
|
| 56 |
subprocess.Popen([
|
| 57 |
"./build/bin/llama-server",
|
| 58 |
+
"-m", model_path,
|
| 59 |
+
"--port", SERVER_PORT,
|
| 60 |
+
"-c", "4096",
|
| 61 |
+
"-t", "8"
|
| 62 |
], cwd=LLAMA_DIR)
|
| 63 |
|
| 64 |
|