loubnabnl HF staff commited on
Commit
950de6d
1 Parent(s): 2cfd160

update labels

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ model = AutoModelForSequenceClassification.from_pretrained("codeparrot/unixcoder
18
 
19
  def get_label(output):
20
  label = int(output[-1])
21
- labels = ClassLabel(num_classes=7, names=['constant', 'linear', 'np', 'logn', 'quadratic', 'nlogn', 'cubic'])
22
  return labels.int2str(label)
23
 
24
  def complexity_estimation(gen_prompt):
 
18
 
19
  def get_label(output):
20
  label = int(output[-1])
21
+ labels = ClassLabel(num_classes=7, names='constant', 'cubic', 'linear', 'logn', 'nlogn', 'np', 'quadratic'])
22
  return labels.int2str(label)
23
 
24
  def complexity_estimation(gen_prompt):