mwitiderrick commited on
Commit
0479016
1 Parent(s): 9d14e26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,8 +60,8 @@ with gr.Blocks() as demo:
60
  text = gr.Text(label="Text")
61
  btn = gr.Button("Submit")
62
 
63
- sparse_answers = gr.Textbox(label="Sparse model answers",
64
- #num_top_classes=3
65
  )
66
  sparse_duration = gr.Number(label="Sparse Latency (ms):")
67
  gr.Examples([["The senate passed 3 laws today"],["Who are you voting for in 2020?"],["Public health is very important"]],inputs=[text],)
 
60
  text = gr.Text(label="Text")
61
  btn = gr.Button("Submit")
62
 
63
+ sparse_answers = gr.Label(label="Sparse model answers",
64
+ num_top_classes=2
65
  )
66
  sparse_duration = gr.Number(label="Sparse Latency (ms):")
67
  gr.Examples([["The senate passed 3 laws today"],["Who are you voting for in 2020?"],["Public health is very important"]],inputs=[text],)