Vera-ZWY commited on
Commit
a59e807
·
verified ·
1 Parent(s): d74eb02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -150,13 +150,10 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
150
  with gr.Row():
151
  with gr.Column():
152
  top_n = gr.Dropdown(choices=[1,2,3,4,5,6,7,8,9,10])
153
- table_btn = gr.Button("Overall pivot table")
154
- show_pivot_table = gr.Dataframe(headers=['Index'] + list(df.columns))
155
 
156
  with gr.Column():
157
-
158
- # top_n = gr.Dropdown(choices=[1,2,3,4,5,6,7,8,9,10])
159
- fresh_btn = gr.Button("Refresh Heatmap")
160
  # with gr.Row():
161
  output_heatmap = gr.Plot(
162
  label="Top Public sentiment & Social topic Heatmap",
 
150
  with gr.Row():
151
  with gr.Column():
152
  top_n = gr.Dropdown(choices=[1,2,3,4,5,6,7,8,9,10])
153
+ fresh_btn = gr.Button("Refresh Heatmap")
 
154
 
155
  with gr.Column():
156
+
 
 
157
  # with gr.Row():
158
  output_heatmap = gr.Plot(
159
  label="Top Public sentiment & Social topic Heatmap",