pawkanarek commited on
Commit
9fce49d
·
1 Parent(s): 703d626
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -26,7 +26,7 @@ def fetch_incentive_data() -> pd.DataFrame:
26
  metagraph = metagraphs[sn]
27
  address_to_uid = {hk: i for i, hk in enumerate(metagraph.hotkeys)}
28
  # The incentives that are assigned to the owner hotkey are being burned/not given out
29
- # Maciej Kula [Bo𝞃, Bo𝞃]
30
  addresses = [("hotkey", subnet.owner_hotkey)] # So don't include coldkey.
31
 
32
  for key_type, address in addresses:
@@ -65,12 +65,14 @@ def get_cached_data() -> tuple[str, pd.DataFrame]:
65
  with gr.Blocks(title="Bittensor Subnet Incentives") as demo:
66
  gr.Markdown(
67
  """
68
- # Burntensor
69
- ### This dashboard displays the burn percentage set by subnet owners for miners. Fetching data takes ~1min.
 
 
 
70
  """
71
  )
72
  next_process_text = gr.Textbox(label="Next refresh time", interactive=False)
73
- gr.Image("/assets/burn.gif")
74
  output_df = gr.DataFrame(
75
  datatype=["number", "markdown", "number", "number", "markdown"],
76
  label="Subnet Burn Data",
 
26
  metagraph = metagraphs[sn]
27
  address_to_uid = {hk: i for i, hk in enumerate(metagraph.hotkeys)}
28
  # The incentives that are assigned to the owner hotkey are being burned/not given out
29
+ # by Maciej Kula [Bo𝞃, Bo𝞃] 23.07.2025
30
  addresses = [("hotkey", subnet.owner_hotkey)] # So don't include coldkey.
31
 
32
  for key_type, address in addresses:
 
65
  with gr.Blocks(title="Bittensor Subnet Incentives") as demo:
66
  gr.Markdown(
67
  """
68
+ <div style="text-align: center">
69
+ <h1>Burntensor</h1>
70
+ <img src='https://huggingface.co/spaces/pawkanarek/burntensor/resolve/main/assets/burn.gif' widht=200 style="display: block; margin: 0 auto;" />
71
+ <h3>This dashboard displays the burn percentage set by subnet owners for miners. Fetching data takes ~1min</h3>
72
+ </div>
73
  """
74
  )
75
  next_process_text = gr.Textbox(label="Next refresh time", interactive=False)
 
76
  output_df = gr.DataFrame(
77
  datatype=["number", "markdown", "number", "number", "markdown"],
78
  label="Subnet Burn Data",