Commit
·
6f13a14
1
Parent(s):
0324026
change layout
Browse files
app.py
CHANGED
|
@@ -196,8 +196,13 @@ with gr.Blocks() as demo:
|
|
| 196 |
num_comps_box = gr.Textbox(lines=1, label="Number of competitions (tournaments/leagues) played")
|
| 197 |
with gr.Column():
|
| 198 |
num_matches_box = gr.Textbox(lines=1, label="Number of matches played")
|
| 199 |
-
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
with gr.Row():
|
| 202 |
with gr.Column():
|
| 203 |
opponent_names_plot = gr.Plot(label="Opponent names")
|
|
@@ -205,8 +210,12 @@ with gr.Blocks() as demo:
|
|
| 205 |
comp_names_plot = gr.Plot(label="Competition names")
|
| 206 |
|
| 207 |
match_longest_game_gdf = gr.Dataframe(label="Match with longest game", max_rows=1)
|
| 208 |
-
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
|
| 211 |
inputs = [input_file]
|
| 212 |
outputs = [
|
|
|
|
| 196 |
num_comps_box = gr.Textbox(lines=1, label="Number of competitions (tournaments/leagues) played")
|
| 197 |
with gr.Column():
|
| 198 |
num_matches_box = gr.Textbox(lines=1, label="Number of matches played")
|
| 199 |
+
|
| 200 |
+
with gr.Row():
|
| 201 |
+
with gr.Column():
|
| 202 |
+
rating_over_time_plot = gr.Plot(show_label=False)
|
| 203 |
+
with gr.Column():
|
| 204 |
+
matches_per_comp_plot = gr.Plot(show_label=False)
|
| 205 |
+
|
| 206 |
with gr.Row():
|
| 207 |
with gr.Column():
|
| 208 |
opponent_names_plot = gr.Plot(label="Opponent names")
|
|
|
|
| 210 |
comp_names_plot = gr.Plot(label="Competition names")
|
| 211 |
|
| 212 |
match_longest_game_gdf = gr.Dataframe(label="Match with longest game", max_rows=1)
|
| 213 |
+
|
| 214 |
+
with gr.Row():
|
| 215 |
+
with gr.Column():
|
| 216 |
+
opponent_rating_dist_plot = gr.Plot(show_label=False)
|
| 217 |
+
with gr.Column():
|
| 218 |
+
opponent_rating_dist_over_time_plot = gr.Plot(show_label=False)
|
| 219 |
|
| 220 |
inputs = [input_file]
|
| 221 |
outputs = [
|