Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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",
|