ThapeloAndrewSindane commited on
Commit
8fcfdf9
1 Parent(s): 9e87bd5

Update app.py

Browse files

Model Choice list fix

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -263,7 +263,7 @@ def compute(sentences, version = 'v3'):
263
  for index, sent in enumerate(sentences):
264
  if type(model_choice) == list:
265
  all_models_pred = []
266
- for model in model_choise:
267
  output = model.predict(sent)
268
  output_label = output[index]['label']
269
  output_prob = output[index]['score']
 
263
  for index, sent in enumerate(sentences):
264
  if type(model_choice) == list:
265
  all_models_pred = []
266
+ for model in model_choice:
267
  output = model.predict(sent)
268
  output_label = output[index]['label']
269
  output_prob = output[index]['score']