Spaces:
Runtime error
Runtime error
add comment
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def main(input_text: str) -> Tuple[float, str]:
|
|
74 |
input_text, normalize_surprisals=True
|
75 |
)
|
76 |
highlighted_text = create_highlighted_text(tokens2surprisal)
|
77 |
-
# return mean_surprisal, highlighted_text
|
78 |
return highlighted_text
|
79 |
|
80 |
|
|
|
74 |
input_text, normalize_surprisals=True
|
75 |
)
|
76 |
highlighted_text = create_highlighted_text(tokens2surprisal)
|
77 |
+
# return mean_surprisal, highlighted_text # not needed for now
|
78 |
return highlighted_text
|
79 |
|
80 |
|