Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def get_leaderboard_data():
|
|
28 |
blocks_in_day = 10_800
|
29 |
client = CommuneClient(node_url)
|
30 |
#emission = client.query("Emission", params=[netuid])
|
31 |
-
emission = [
|
32 |
scores = {}
|
33 |
for uid, emi in enumerate(emission):
|
34 |
scores[uid] = ((emi / 10**11) * blocks_in_day) * com_price
|
|
|
28 |
blocks_in_day = 10_800
|
29 |
client = CommuneClient(node_url)
|
30 |
#emission = client.query("Emission", params=[netuid])
|
31 |
+
emission = [1212212112121212, 1212122122, 112122121211]
|
32 |
scores = {}
|
33 |
for uid, emi in enumerate(emission):
|
34 |
scores[uid] = ((emi / 10**11) * blocks_in_day) * com_price
|