Joschka Strueber commited on
Commit
43681ea
·
1 Parent(s): b05c242

[Fix] plot axes and visibility

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(title="LLM Similarity Analyzer") as demo:
73
  ).then(
74
  fn=create_heatmap,
75
  inputs=[model_dropdown, dataset_dropdown],
76
- outputs=[heatmap, heatmap.visible]
77
  )
78
 
79
  # Clear button
@@ -83,5 +83,6 @@ with gr.Blocks(title="LLM Similarity Analyzer") as demo:
83
  outputs=[model_dropdown, dataset_dropdown, heatmap]
84
  )
85
 
 
86
  if __name__ == "__main__":
87
  demo.launch()
 
73
  ).then(
74
  fn=create_heatmap,
75
  inputs=[model_dropdown, dataset_dropdown],
76
+ outputs=[heatmap, heatmap]
77
  )
78
 
79
  # Clear button
 
83
  outputs=[model_dropdown, dataset_dropdown, heatmap]
84
  )
85
 
86
+
87
  if __name__ == "__main__":
88
  demo.launch()