Spaces:
Sleeping
Sleeping
another one
Browse files
app.py
CHANGED
|
@@ -102,7 +102,6 @@ def main():
|
|
| 102 |
st.session_state.leader_info[competition] = {
|
| 103 |
"Miner hotkey": "N/A",
|
| 104 |
"Date": "N/A",
|
| 105 |
-
"UID": "N/A",
|
| 106 |
"Days on Top": "N/A"
|
| 107 |
}
|
| 108 |
else:
|
|
|
|
| 102 |
st.session_state.leader_info[competition] = {
|
| 103 |
"Miner hotkey": "N/A",
|
| 104 |
"Date": "N/A",
|
|
|
|
| 105 |
"Days on Top": "N/A"
|
| 106 |
}
|
| 107 |
else:
|
utils.py
CHANGED
|
@@ -34,11 +34,10 @@ def fetch_competition_summary(api, projects, selected_project):
|
|
| 34 |
summary = run.summary
|
| 35 |
if summary.get("validator_hotkey") and summary.get("winning_hotkey"):
|
| 36 |
data.append({
|
| 37 |
-
"
|
| 38 |
"Validator ID": summary.get("validator_hotkey"),
|
| 39 |
"Winning Hotkey": summary.get("winning_hotkey"),
|
| 40 |
"Run Time (s)": summary.get("run_time_s"),
|
| 41 |
-
"Created At": run.created_at,
|
| 42 |
})
|
| 43 |
except Exception as e:
|
| 44 |
st.write(f"Error processing run {run.id}: {str(e)}")
|
|
|
|
| 34 |
summary = run.summary
|
| 35 |
if summary.get("validator_hotkey") and summary.get("winning_hotkey"):
|
| 36 |
data.append({
|
| 37 |
+
"Created At": run.created_at,
|
| 38 |
"Validator ID": summary.get("validator_hotkey"),
|
| 39 |
"Winning Hotkey": summary.get("winning_hotkey"),
|
| 40 |
"Run Time (s)": summary.get("run_time_s"),
|
|
|
|
| 41 |
})
|
| 42 |
except Exception as e:
|
| 43 |
st.write(f"Error processing run {run.id}: {str(e)}")
|