myshell-test commited on
Commit
3859011
1 Parent(s): bc861ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -9
app.py CHANGED
@@ -369,15 +369,12 @@ competition_scores = {
369
  }
370
 
371
  current_block = metagraph.block.item()
372
- for i in range(METAGRAPH_RETRIES):
373
- try:
374
- next_update = next_tempo(
375
- SUBNET_START_BLOCK,
376
- subtensor.get_subnet_hyperparameters(NETUID).tempo,
377
- current_block,
378
- )
379
- except:
380
- pass
381
 
382
  blocks_to_go = next_update - current_block
383
  current_time = datetime.datetime.now()
 
369
  }
370
 
371
  current_block = metagraph.block.item()
372
+
373
+ next_update = next_tempo(
374
+ SUBNET_START_BLOCK,
375
+ 360,
376
+ current_block,
377
+ )
 
 
 
378
 
379
  blocks_to_go = next_update - current_block
380
  current_time = datetime.datetime.now()