Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -248,11 +248,7 @@ def format_score(uid: int, scores, key) -> Optional[float]:
|
|
248 |
|
249 |
|
250 |
def next_epoch(subtensor: bt.subtensor, block: int) -> int:
|
251 |
-
return
|
252 |
-
block
|
253 |
-
+ subtensor.get_subnet_hyperparameters(NETUID).tempo
|
254 |
-
- subtensor.blocks_since_epoch(NETUID, block)
|
255 |
-
)
|
256 |
|
257 |
|
258 |
def get_next_update_div(current_block: int, next_update_block: int) -> str:
|
|
|
248 |
|
249 |
|
250 |
def next_epoch(subtensor: bt.subtensor, block: int) -> int:
|
251 |
+
return 0
|
|
|
|
|
|
|
|
|
252 |
|
253 |
|
254 |
def get_next_update_div(current_block: int, next_update_block: int) -> str:
|