poltextlab commited on
Commit
4777148
·
verified ·
1 Parent(s): 970c913

fix parameter number

Browse files
Files changed (1) hide show
  1. interfaces/illframes.py +1 -1
interfaces/illframes.py CHANGED
@@ -55,7 +55,7 @@ def predict(text, model_id, tokenizer_id, label_names):
55
  output_info = f'<p style="text-align: center; display: block">Prediction was made using the <a href="https://huggingface.co/{model_id}">{model_id}</a> model.</p>'
56
  return output_pred, output_info
57
 
58
- def predict_illframes(text, domain):
59
  domain = domains[domain]
60
  model_id = build_huggingface_path(domain)
61
  tokenizer_id = "xlm-roberta-large"
 
55
  output_info = f'<p style="text-align: center; display: block">Prediction was made using the <a href="https://huggingface.co/{model_id}">{model_id}</a> model.</p>'
56
  return output_pred, output_info
57
 
58
+ def predict_illframes(text, language, domain):
59
  domain = domains[domain]
60
  model_id = build_huggingface_path(domain)
61
  tokenizer_id = "xlm-roberta-large"