Xenobd commited on
Commit
b4ea82d
·
verified ·
1 Parent(s): 923d4d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
  command = [
8
  "python",
9
  "run_inference_server.py",
10
- "-m", "./models/Llama3-8B-1.58-100B-tokens/ggml-model-i2_s.gguf",
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,shell=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}")