ThapeloAndrewSindane commited on
Commit
3f52434
1 Parent(s): edd31b5

Fix colon

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -311,7 +311,7 @@ def compute(sentences, version = 'v3'):
311
 
312
  else:
313
  output = model_choice.predict(sent)
314
- if version not in ["openlid-201", "GlotLID v3"]
315
  output_label = output[index]['label']
316
  output_prob = output[index]['score']
317
  output_label_language = output[index]['label']
 
311
 
312
  else:
313
  output = model_choice.predict(sent)
314
+ if version not in ["openlid-201", "GlotLID v3"]:
315
  output_label = output[index]['label']
316
  output_prob = output[index]['score']
317
  output_label_language = output[index]['label']