Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks() as demo:
|
|
120 |
filter_button.render()
|
121 |
with gr.Tab("Basic information"):
|
122 |
for index, row in general_plots.iterrows():
|
123 |
-
gr.Plot(plotly.io.from_json(row["plot_json"]), label=row["description"])
|
124 |
gr.Markdown(str(row["comment"]))
|
125 |
with gr.Tab("Output characteristics"):
|
126 |
with gr.Row():
|
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
|
|
130 |
|
131 |
with gr.Tab("Preformance by time of the day"):
|
132 |
time_of_day_comparison_ui = gr.DataFrame(dataframe_style(time_of_day_comparison_df), label="Time of day")
|
133 |
-
time_of_day_plot_ui = gr.Plot(time_of_day_plot, label="Time of the day plot")
|
134 |
gr.Markdown("Hourly measurements were made in Central European Time.")
|
135 |
|
136 |
with gr.Tab("Costs comparison"):
|
|
|
120 |
filter_button.render()
|
121 |
with gr.Tab("Basic information"):
|
122 |
for index, row in general_plots.iterrows():
|
123 |
+
gr.Plot(plotly.io.from_json(row["plot_json"]), label=row["description"], scale=1)
|
124 |
gr.Markdown(str(row["comment"]))
|
125 |
with gr.Tab("Output characteristics"):
|
126 |
with gr.Row():
|
|
|
130 |
|
131 |
with gr.Tab("Preformance by time of the day"):
|
132 |
time_of_day_comparison_ui = gr.DataFrame(dataframe_style(time_of_day_comparison_df), label="Time of day")
|
133 |
+
time_of_day_plot_ui = gr.Plot(time_of_day_plot, label="Time of the day plot", scale=1)
|
134 |
gr.Markdown("Hourly measurements were made in Central European Time.")
|
135 |
|
136 |
with gr.Tab("Costs comparison"):
|