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

Update app.py

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', 'cubic', 'linear', 'logn', 'nlogn', 'np', 'quadratic'])
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):