Brianpuz commited on
Commit
c6e5bf4
·
verified ·
1 Parent(s): c28e5cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -239,7 +239,8 @@ def process_model(model_id, q_method, use_imatrix, imatrix_q_method, private_rep
239
  print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
240
  logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
241
  result = subprocess.run(["python", CONVERSION_SCRIPT, local_dir, "--outtype", "f16", "--outfile", fp16], shell=False, capture_output=True)
242
- print("Converted to f16")
 
243
  if result.returncode != 0:
244
  raise Exception(f"Error converting to fp16: {result.stderr.decode()}")
245
 
 
239
  print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
240
  logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
241
  result = subprocess.run(["python", CONVERSION_SCRIPT, local_dir, "--outtype", "f16", "--outfile", fp16], shell=False, capture_output=True)
242
+ print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Converted to f16")
243
+ logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Converted to f16")
244
  if result.returncode != 0:
245
  raise Exception(f"Error converting to fp16: {result.stderr.decode()}")
246