Spaces:
Sleeping
Sleeping
removed avg probs
Browse files
app.py
CHANGED
@@ -118,9 +118,7 @@ if __name__ == "__main__":
|
|
118 |
show_legend=True,
|
119 |
).style(color_map=label_to_color)
|
120 |
|
121 |
-
|
122 |
-
|
123 |
-
button.click(get_tokens_and_labels, inputs=prompt, outputs=[highlighted_text, transition_proba])
|
124 |
|
125 |
|
126 |
if __name__ == "__main__":
|
|
|
118 |
show_legend=True,
|
119 |
).style(color_map=label_to_color)
|
120 |
|
121 |
+
button.click(get_tokens_and_labels, inputs=prompt, outputs=highlighted_text)
|
|
|
|
|
122 |
|
123 |
|
124 |
if __name__ == "__main__":
|