Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
·
3639664
1
Parent(s):
2a26975
fixed , to ;;
Browse files
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']
|