Spaces:
Configuration error
Configuration error
Update weights.py
Browse files- weights.py +2 -2
weights.py
CHANGED
|
@@ -21,8 +21,8 @@ def get_miner_uids(metagraph: bt.metagraph) -> list:
|
|
| 21 |
|
| 22 |
|
| 23 |
def validator_info():
|
| 24 |
-
metagraph = subtensor.metagraph(netuid =
|
| 25 |
-
all_weights = subtensor.weights(netuid=
|
| 26 |
axons = metagraph.axons
|
| 27 |
weight_list = []
|
| 28 |
for validator_uid, weights in all_weights:
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
def validator_info():
|
| 24 |
+
metagraph = subtensor.metagraph(netuid = 6)
|
| 25 |
+
all_weights = subtensor.weights(netuid=6)
|
| 26 |
axons = metagraph.axons
|
| 27 |
weight_list = []
|
| 28 |
for validator_uid, weights in all_weights:
|