Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -130,13 +130,13 @@ def visualize_logprobs(json_input):
|
|
130 |
with gr.Blocks(title="Log Probability Visualizer") as app:
|
131 |
gr.Markdown("# Log Probability Visualizer")
|
132 |
gr.Markdown(
|
133 |
-
"Paste your JSON
|
134 |
)
|
135 |
|
136 |
json_input = gr.Textbox(
|
137 |
label="JSON Input",
|
138 |
lines=10,
|
139 |
-
placeholder="Paste your JSON
|
140 |
)
|
141 |
|
142 |
plot_output = gr.HTML(label="Log Probability Plot")
|
|
|
130 |
with gr.Blocks(title="Log Probability Visualizer") as app:
|
131 |
gr.Markdown("# Log Probability Visualizer")
|
132 |
gr.Markdown(
|
133 |
+
"Paste your JSON log prob data below to visualize the tokens and their probabilities."
|
134 |
)
|
135 |
|
136 |
json_input = gr.Textbox(
|
137 |
label="JSON Input",
|
138 |
lines=10,
|
139 |
+
placeholder="Paste your JSON here (ensure property names are in double quotes, e.g., \"token\")...",
|
140 |
)
|
141 |
|
142 |
plot_output = gr.HTML(label="Log Probability Plot")
|