Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from typing import Any
|
|
5 |
from communex.client import CommuneClient
|
6 |
from communex.balance import from_nano
|
7 |
|
8 |
-
netuid =
|
9 |
node_url = "wss://commune.api.onfinality.io/public-ws"
|
10 |
|
11 |
def get_com_price() -> Any:
|
@@ -48,8 +48,6 @@ async def update_leaderboard_table():
|
|
48 |
# Add emojis to the leaderboard data
|
49 |
for row in leaderboard_data:
|
50 |
row[0] = f"{row[0]} π"
|
51 |
-
row[1] = f"{row[1]} π"
|
52 |
-
row[2] = f"{row[2]} π―"
|
53 |
return leaderboard_data
|
54 |
|
55 |
custom_css = """
|
|
|
5 |
from communex.client import CommuneClient
|
6 |
from communex.balance import from_nano
|
7 |
|
8 |
+
netuid = 24
|
9 |
node_url = "wss://commune.api.onfinality.io/public-ws"
|
10 |
|
11 |
def get_com_price() -> Any:
|
|
|
48 |
# Add emojis to the leaderboard data
|
49 |
for row in leaderboard_data:
|
50 |
row[0] = f"{row[0]} π"
|
|
|
|
|
51 |
return leaderboard_data
|
52 |
|
53 |
custom_css = """
|