Spaces:
Configuration error
Configuration error
Commit
·
aeb7b2b
1
Parent(s):
d16810b
fix layout
Browse files
app.py
CHANGED
|
@@ -101,44 +101,41 @@ with demo:
|
|
| 101 |
with gr.Accordion("Subnet Stats"):
|
| 102 |
gr.HTML(f"""<h2 align = 'center' class="promova" style = 'font-size: 35px;' > Miner Stats</h2>""")
|
| 103 |
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
color_legend_position="top",
|
| 140 |
-
# elem_classes="daily_scraped_data",
|
| 141 |
-
)
|
| 142 |
|
| 143 |
gr.ScatterPlot(
|
| 144 |
hotkey_daily_df_,
|
|
|
|
| 101 |
with gr.Accordion("Subnet Stats"):
|
| 102 |
gr.HTML(f"""<h2 align = 'center' class="promova" style = 'font-size: 35px;' > Miner Stats</h2>""")
|
| 103 |
|
| 104 |
+
gr.BarPlot(
|
| 105 |
+
daily_df,
|
| 106 |
+
x="Date",
|
| 107 |
+
y="Value",
|
| 108 |
+
title="Daliy scraped data amount",
|
| 109 |
+
# color="Date",
|
| 110 |
+
# tooltip=["Date", "Value"],
|
| 111 |
+
y_lim=[0, dalily_df_max * 1.5],
|
| 112 |
+
x_title="Date",
|
| 113 |
+
y_title="Amount of data scraped",
|
| 114 |
+
height=500,
|
| 115 |
+
width=500,
|
| 116 |
+
scale=5,
|
| 117 |
+
# color="Value",
|
| 118 |
+
color_legend_position="top",
|
| 119 |
+
# elem_classes="daily_scraped_data",
|
| 120 |
+
)
|
| 121 |
+
gr.BarPlot(
|
| 122 |
+
hotkey_df,
|
| 123 |
+
x="Hotkey",
|
| 124 |
+
y="Value",
|
| 125 |
+
title="Scraped data amount of each Miner",
|
| 126 |
+
# color="Date",
|
| 127 |
+
# tooltip=["Hotkey", "Value"],
|
| 128 |
+
y_lim=[0, hotkey_df_max * 1.5],
|
| 129 |
+
x_title="Date",
|
| 130 |
+
y_title="Amount of data scraped",
|
| 131 |
+
height=500,
|
| 132 |
+
width=500,
|
| 133 |
+
scale=5,
|
| 134 |
+
# color="Value",
|
| 135 |
+
x_label_angle=-30,
|
| 136 |
+
color_legend_position="top",
|
| 137 |
+
# elem_classes="daily_scraped_data",
|
| 138 |
+
)
|
|
|
|
|
|
|
|
|
|
| 139 |
|
| 140 |
gr.ScatterPlot(
|
| 141 |
hotkey_daily_df_,
|