Ffftdtd5dtft commited on
Commit
1bb6979
·
verified ·
1 Parent(s): d6c19ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ def generate_importance_matrix(model_path, train_data_path):
32
  try:
33
  process.wait(timeout=5) # grace period
34
  except subprocess.TimeoutExpired:
35
- print("Imatrix proc still didn't term. Forecfully terming process...")
36
  process.kill()
37
 
38
  os.chdir("..")
@@ -125,7 +125,7 @@ def process_model(model_id, q_method, use_imatrix, imatrix_q_method, private_rep
125
  if train_data_file:
126
  train_data_path = train_data_file.name
127
  else:
128
- train_data_path = "groups_merged.txt" #fallback calibration dataset
129
 
130
  print(f"Training data file path: {train_data_path}")
131
 
 
32
  try:
33
  process.wait(timeout=5) # grace period
34
  except subprocess.TimeoutExpired:
35
+ print("Imatrix proc still didn't term. Forcefully terminating process...")
36
  process.kill()
37
 
38
  os.chdir("..")
 
125
  if train_data_file:
126
  train_data_path = train_data_file.name
127
  else:
128
+ train_data_path = "groups_merged.txt" # fallback calibration dataset
129
 
130
  print(f"Training data file path: {train_data_path}")
131