Spaces:
Build error
Build error
Commit
·
7370d18
1
Parent(s):
4cf275b
Update run.py
Browse files
run.py
CHANGED
|
@@ -37,7 +37,7 @@ print(modelPath)
|
|
| 37 |
#------------------
|
| 38 |
|
| 39 |
import subprocess
|
| 40 |
-
command = ["python3", "-m", "llama_cpp.server", "--model", modelPath, "--host", "0.0.0.0", "--port", "2600"]
|
| 41 |
subprocess.Popen(command)
|
| 42 |
print("Server ready!")
|
| 43 |
|
|
|
|
| 37 |
#------------------
|
| 38 |
|
| 39 |
import subprocess
|
| 40 |
+
command = ["python3", "-m", "llama_cpp.server", "--model", modelPath, "--host", "0.0.0.0", "--port", "2600", "--n_threads", "2"]
|
| 41 |
subprocess.Popen(command)
|
| 42 |
print("Server ready!")
|
| 43 |
|