Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ demo = gr.Interface(
|
|
92 |
fn=compare_models,
|
93 |
inputs=[
|
94 |
gr.Textbox(lines=2, placeholder="Type a sentence here...", label="Input Sentence"),
|
95 |
-
gr.Slider(minimum=1, maximum=10, value=
|
96 |
],
|
97 |
outputs=[
|
98 |
gr.Dataframe(label="Token LogProbs and Top-k Predictions"),
|
|
|
92 |
fn=compare_models,
|
93 |
inputs=[
|
94 |
gr.Textbox(lines=2, placeholder="Type a sentence here...", label="Input Sentence"),
|
95 |
+
gr.Slider(minimum=1, maximum=10, value=3, step=1, label="Top-k Predictions")
|
96 |
],
|
97 |
outputs=[
|
98 |
gr.Dataframe(label="Token LogProbs and Top-k Predictions"),
|