Spaces:
Sleeping
Sleeping
Sarkosos
commited on
Commit
·
aca8260
1
Parent(s):
fbee021
fixed the showing of unique proteins folded
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ completed_jobs = productivity_all['all_time']['total_completed_jobs_data']
|
|
49 |
productivity_24h = productivity_all['last_24h']
|
50 |
completed_jobs = pd.DataFrame(completed_jobs)
|
51 |
|
52 |
-
unique_folded = productivity_all['all_time']['unique_folded_data']
|
53 |
# unique_folded['last_event_at'] = pd.to_datetime(unique_folded['updated_at'])
|
54 |
|
55 |
m1, m2, m3 = st.columns(3)
|
@@ -131,7 +131,6 @@ entity_choice = m2.radio('Select entity', utils.ENTITY_CHOICES, index=0, horizon
|
|
131 |
|
132 |
df_m = fetch_metagraph_data()
|
133 |
df_miners = fetch_leaderboard_data(df_m, ntop=ntop, entity_choice=entity_choice)
|
134 |
-
print(df_miners)
|
135 |
# hide colorbar and don't show y axis
|
136 |
st.plotly_chart(
|
137 |
px.bar(df_miners.iloc[-ntop:], x='I', color='I', hover_name=entity_choice, text=entity_choice if ntop < 20 else None,
|
|
|
49 |
productivity_24h = productivity_all['last_24h']
|
50 |
completed_jobs = pd.DataFrame(completed_jobs)
|
51 |
|
52 |
+
unique_folded = pd.DataFrame(productivity_all['all_time']['unique_folded_data'])
|
53 |
# unique_folded['last_event_at'] = pd.to_datetime(unique_folded['updated_at'])
|
54 |
|
55 |
m1, m2, m3 = st.columns(3)
|
|
|
131 |
|
132 |
df_m = fetch_metagraph_data()
|
133 |
df_miners = fetch_leaderboard_data(df_m, ntop=ntop, entity_choice=entity_choice)
|
|
|
134 |
# hide colorbar and don't show y axis
|
135 |
st.plotly_chart(
|
136 |
px.bar(df_miners.iloc[-ntop:], x='I', color='I', hover_name=entity_choice, text=entity_choice if ntop < 20 else None,
|