Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
command = [
|
8 |
"python",
|
9 |
"run_inference_server.py",
|
10 |
-
"-m", "./models/
|
11 |
"--host", "0.0.0.0",
|
12 |
"--port", "7860"
|
13 |
]
|
@@ -15,6 +15,6 @@ command = [
|
|
15 |
# Run it as a subprocess
|
16 |
try:
|
17 |
subprocess.run("ls",check=True)
|
18 |
-
subprocess.run(command, check=True
|
19 |
except subprocess.CalledProcessError as e:
|
20 |
print(f"Error running inference server: {e}")
|
|
|
7 |
command = [
|
8 |
"python",
|
9 |
"run_inference_server.py",
|
10 |
+
"-m", "./models/ggml-model-i2_s.gguf",
|
11 |
"--host", "0.0.0.0",
|
12 |
"--port", "7860"
|
13 |
]
|
|
|
15 |
# Run it as a subprocess
|
16 |
try:
|
17 |
subprocess.run("ls",check=True)
|
18 |
+
subprocess.run(command, check=True)
|
19 |
except subprocess.CalledProcessError as e:
|
20 |
print(f"Error running inference server: {e}")
|