poltextlab commited on
Commit
e9adeb9
·
verified ·
1 Parent(s): 261d20f

fix indentation error

Browse files
Files changed (1) hide show
  1. interfaces/illframes.py +1 -1
interfaces/illframes.py CHANGED
@@ -68,7 +68,7 @@ def predict(text, model_id, tokenizer_id, label_names):
68
  try:
69
  model = AutoModelForSequenceClassification.from_pretrained(model_id, low_cpu_mem_usage=True, device_map="auto", offload_folder="offload", token=HF_TOKEN)
70
  except:
71
- disk_space = get_disk_space()
72
  print("Disk Space Error:")
73
  for key, value in disk_space.items():
74
  print(f"{key}: {value}")
 
68
  try:
69
  model = AutoModelForSequenceClassification.from_pretrained(model_id, low_cpu_mem_usage=True, device_map="auto", offload_folder="offload", token=HF_TOKEN)
70
  except:
71
+ disk_space = get_disk_space()
72
  print("Disk Space Error:")
73
  for key, value in disk_space.items():
74
  print(f"{key}: {value}")