kaushikbar commited on
Commit
3639664
·
1 Parent(s): 2a26975

fixed , to ;;

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def detect_lang(sequence, labels):
144
  def sequence_to_classify(sequence, labels):
145
  classifier = classifiers[detect_lang(sequence, labels)]
146
 
147
- label_clean = str(labels).split(",")
148
  response = classifier(sequence, label_clean, multi_label=True)
149
 
150
  predicted_labels = response['labels']
 
144
  def sequence_to_classify(sequence, labels):
145
  classifier = classifiers[detect_lang(sequence, labels)]
146
 
147
+ label_clean = str(labels).split(";;")
148
  response = classifier(sequence, label_clean, multi_label=True)
149
 
150
  predicted_labels = response['labels']