CesarLeblanc commited on
Commit
54a8fdb
1 Parent(s): 443a3b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def plantbert(text, typology, confidence, task):
62
  if task == "classification":
63
  formatted_output, image_output = classification(text, typology, confidence, task)
64
  else:
65
- formatted_output, image_output = masking(text, typology, confidence, task)
66
  return formatted_output, image_output
67
 
68
  inputs=[
 
62
  if task == "classification":
63
  formatted_output, image_output = classification(text, typology, confidence, task)
64
  else:
65
+ formatted_output, image_output = masking(text, task)
66
  return formatted_output, image_output
67
 
68
  inputs=[