erasing interactive and update intervals
Browse files
app.py
CHANGED
@@ -480,7 +480,6 @@ def main() -> None:
|
|
480 |
kpi_chart_submitted_1,
|
481 |
inputs=[],
|
482 |
outputs=[plot],
|
483 |
-
every=update_interval_charts,
|
484 |
)
|
485 |
|
486 |
plot = gr.Plot(label="Plot")
|
@@ -488,7 +487,6 @@ def main() -> None:
|
|
488 |
kpi_chart_remaining_1,
|
489 |
inputs=[],
|
490 |
outputs=[plot],
|
491 |
-
every=update_interval_charts,
|
492 |
)
|
493 |
|
494 |
# donut_chart_plotted_1 = gr.Plot(label="Plot")
|
@@ -512,7 +510,6 @@ def main() -> None:
|
|
512 |
kpi_chart_submitted_2,
|
513 |
inputs=[],
|
514 |
outputs=[plot],
|
515 |
-
every=update_interval_charts,
|
516 |
)
|
517 |
|
518 |
plot = gr.Plot(label="Plot")
|
@@ -520,7 +517,6 @@ def main() -> None:
|
|
520 |
kpi_chart_remaining_2,
|
521 |
inputs=[],
|
522 |
outputs=[plot],
|
523 |
-
every=update_interval_charts,
|
524 |
)
|
525 |
|
526 |
# donut_chart_plotted_2 = gr.Plot(label="Plot")
|
@@ -544,7 +540,6 @@ def main() -> None:
|
|
544 |
kpi_chart_submitted_3,
|
545 |
inputs=[],
|
546 |
outputs=[plot],
|
547 |
-
every=update_interval_charts,
|
548 |
)
|
549 |
|
550 |
plot = gr.Plot(label="Plot")
|
@@ -552,7 +547,6 @@ def main() -> None:
|
|
552 |
kpi_chart_remaining_3,
|
553 |
inputs=[],
|
554 |
outputs=[plot],
|
555 |
-
every=update_interval_charts,
|
556 |
)
|
557 |
|
558 |
# donut_chart_plotted_3 = gr.Plot(label="Plot")
|
@@ -576,7 +570,6 @@ def main() -> None:
|
|
576 |
kpi_chart_annotators,
|
577 |
inputs=[],
|
578 |
outputs=[plot2],
|
579 |
-
every=update_interval_charts,
|
580 |
)
|
581 |
|
582 |
top_df_plot = gr.Dataframe(
|
@@ -590,10 +583,10 @@ def main() -> None:
|
|
590 |
interactive=False,
|
591 |
)
|
592 |
|
593 |
-
demo.load(get_top, None, [top_df_plot]
|
594 |
|
595 |
# Launch the Gradio interface
|
596 |
-
demo.launch(
|
597 |
|
598 |
|
599 |
if __name__ == "__main__":
|
|
|
480 |
kpi_chart_submitted_1,
|
481 |
inputs=[],
|
482 |
outputs=[plot],
|
|
|
483 |
)
|
484 |
|
485 |
plot = gr.Plot(label="Plot")
|
|
|
487 |
kpi_chart_remaining_1,
|
488 |
inputs=[],
|
489 |
outputs=[plot],
|
|
|
490 |
)
|
491 |
|
492 |
# donut_chart_plotted_1 = gr.Plot(label="Plot")
|
|
|
510 |
kpi_chart_submitted_2,
|
511 |
inputs=[],
|
512 |
outputs=[plot],
|
|
|
513 |
)
|
514 |
|
515 |
plot = gr.Plot(label="Plot")
|
|
|
517 |
kpi_chart_remaining_2,
|
518 |
inputs=[],
|
519 |
outputs=[plot],
|
|
|
520 |
)
|
521 |
|
522 |
# donut_chart_plotted_2 = gr.Plot(label="Plot")
|
|
|
540 |
kpi_chart_submitted_3,
|
541 |
inputs=[],
|
542 |
outputs=[plot],
|
|
|
543 |
)
|
544 |
|
545 |
plot = gr.Plot(label="Plot")
|
|
|
547 |
kpi_chart_remaining_3,
|
548 |
inputs=[],
|
549 |
outputs=[plot],
|
|
|
550 |
)
|
551 |
|
552 |
# donut_chart_plotted_3 = gr.Plot(label="Plot")
|
|
|
570 |
kpi_chart_annotators,
|
571 |
inputs=[],
|
572 |
outputs=[plot2],
|
|
|
573 |
)
|
574 |
|
575 |
top_df_plot = gr.Dataframe(
|
|
|
583 |
interactive=False,
|
584 |
)
|
585 |
|
586 |
+
demo.load(get_top, None, [top_df_plot])
|
587 |
|
588 |
# Launch the Gradio interface
|
589 |
+
demo.launch()
|
590 |
|
591 |
|
592 |
if __name__ == "__main__":
|