AlexTransformer commited on
Commit
964e0e1
·
verified ·
1 Parent(s): c6c2112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=5, step=1, label="Top-k Predictions")
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"),