Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ MAX_AVG_LOSS_POINTS = 1
|
|
| 37 |
RETRIES = 5
|
| 38 |
DELAY_SECS = 3
|
| 39 |
NETUID = 32
|
| 40 |
-
UID_MAIN_VALIDATOR =
|
| 41 |
BENCHMARK_TOP_AMOUNT = 3
|
| 42 |
EVALUATION_STATS_AMOUNT = 5
|
| 43 |
|
|
@@ -178,9 +178,6 @@ def is_hash_repeated(current_hash: str, current_index: int, wandb_runs: List):
|
|
| 178 |
if 'signed_msg' not in run.summary:
|
| 179 |
continue
|
| 180 |
|
| 181 |
-
print("HASH FROM RUN", run.summary['signed_msg'])
|
| 182 |
-
print("CURRENT HASH", current_hash)
|
| 183 |
-
print()
|
| 184 |
if run.summary['signed_msg'] == current_hash:
|
| 185 |
return True
|
| 186 |
return False
|
|
|
|
| 37 |
RETRIES = 5
|
| 38 |
DELAY_SECS = 3
|
| 39 |
NETUID = 32
|
| 40 |
+
UID_MAIN_VALIDATOR = 33
|
| 41 |
BENCHMARK_TOP_AMOUNT = 3
|
| 42 |
EVALUATION_STATS_AMOUNT = 5
|
| 43 |
|
|
|
|
| 178 |
if 'signed_msg' not in run.summary:
|
| 179 |
continue
|
| 180 |
|
|
|
|
|
|
|
|
|
|
| 181 |
if run.summary['signed_msg'] == current_hash:
|
| 182 |
return True
|
| 183 |
return False
|