Update app.py
Browse files
app.py
CHANGED
@@ -277,11 +277,6 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
|
|
277 |
outputs = [time_series_fig, linePlot_status_text]
|
278 |
)
|
279 |
|
280 |
-
table_btn.click(
|
281 |
-
fn=get_heatmap_pivot_table,
|
282 |
-
inputs= top_n,
|
283 |
-
outputs=show_pivot_table
|
284 |
-
)
|
285 |
# Update both outputs when submit is clicked
|
286 |
submit_btn.click(
|
287 |
fn=process_query,
|
@@ -290,9 +285,5 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
|
|
290 |
)
|
291 |
|
292 |
|
293 |
-
if __name__ == "__main__":
|
294 |
-
demo.launch(share=True)
|
295 |
-
|
296 |
-
|
297 |
if __name__ == "__main__":
|
298 |
demo.launch(share=True)
|
|
|
277 |
outputs = [time_series_fig, linePlot_status_text]
|
278 |
)
|
279 |
|
|
|
|
|
|
|
|
|
|
|
280 |
# Update both outputs when submit is clicked
|
281 |
submit_btn.click(
|
282 |
fn=process_query,
|
|
|
285 |
)
|
286 |
|
287 |
|
|
|
|
|
|
|
|
|
288 |
if __name__ == "__main__":
|
289 |
demo.launch(share=True)
|