Spaces:
Build error
Build error
Commit
·
4993090
1
Parent(s):
090d5b0
Update run.py
Browse files
run.py
CHANGED
|
@@ -36,6 +36,7 @@ print(modelPath)
|
|
| 36 |
# Llama-cpp-Server
|
| 37 |
#------------------
|
| 38 |
|
|
|
|
| 39 |
command = ["python3", "-m", "llama_cpp.server", "--model", modelPath, "--host", "0.0.0.0", "--port", "2600"]
|
| 40 |
subprocess.Popen(command)
|
| 41 |
print("Server ready!")
|
|
|
|
| 36 |
# Llama-cpp-Server
|
| 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!")
|