Spaces:
Runtime error
Runtime error
fix type
Browse files
app.py
CHANGED
@@ -74,11 +74,11 @@ if __name__ == "__main__":
|
|
74 |
description="The input text is highlighted based on readability. (The higher the surprisal, the more difficult to read.)",
|
75 |
inputs=gr.inputs.Textbox(
|
76 |
lines=5,
|
77 |
-
label="
|
78 |
placeholder="input text here",
|
79 |
),
|
80 |
outputs=[
|
81 |
-
gr.Number(label="
|
82 |
gr.outputs.HTML(label="surprisals by token"),
|
83 |
],
|
84 |
examples=[
|
|
|
74 |
description="The input text is highlighted based on readability. (The higher the surprisal, the more difficult to read.)",
|
75 |
inputs=gr.inputs.Textbox(
|
76 |
lines=5,
|
77 |
+
label="Text",
|
78 |
placeholder="input text here",
|
79 |
),
|
80 |
outputs=[
|
81 |
+
gr.Number(label="Surprisal"),
|
82 |
gr.outputs.HTML(label="surprisals by token"),
|
83 |
],
|
84 |
examples=[
|