Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
54a8fdb
1
Parent(s):
443a3b3
Update app.py
Browse files
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,
|
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=[
|