dar-tau commited on
Commit
ee7b758
·
verified ·
1 Parent(s): db36965

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -53,9 +53,11 @@ with demo:
53
  vis_dropdown = gr.Dropdown(label="Visualization", choices=[x.value for x in VisType] + [f'Layer #{i}' for i in range(num_layers)],
54
  min_width=70, value=VisType.SUM, type='value')
55
  btn = gr.Button("Run", min_width=30)
 
 
 
56
  output = gr.Plot(label="Plot", container=True)
57
  metrics = gr.Label("Metrics")
58
- vis_format_checkbox = gr.Radio(['Plot', 'Graph'])
59
  btn.click(analyze_sentence, [sentence_dropdown, vis_dropdown, vis_format_checkbox], [output, metrics])
60
 
61
 
 
53
  vis_dropdown = gr.Dropdown(label="Visualization", choices=[x.value for x in VisType] + [f'Layer #{i}' for i in range(num_layers)],
54
  min_width=70, value=VisType.SUM, type='value')
55
  btn = gr.Button("Run", min_width=30)
56
+
57
+ vis_format_checkbox = gr.Radio(['Plot', 'Graph'])
58
+
59
  output = gr.Plot(label="Plot", container=True)
60
  metrics = gr.Label("Metrics")
 
61
  btn.click(analyze_sentence, [sentence_dropdown, vis_dropdown, vis_format_checkbox], [output, metrics])
62
 
63