mwitiderrick commited on
Commit
c120c6a
1 Parent(s): a6d1e7d

Update app.py

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