Spaces:
Sleeping
Sleeping
bkb2135
commited on
Commit
·
90ceb20
1
Parent(s):
544560f
Don't Use Cache
Browse files- Dockerfile +1 -1
- utils.py +1 -1
Dockerfile
CHANGED
@@ -6,5 +6,5 @@ WORKDIR /app
|
|
6 |
EXPOSE 10000
|
7 |
RUN pip install -r requirements.txt
|
8 |
|
9 |
-
ENTRYPOINT ["
|
10 |
|
|
|
6 |
EXPOSE 10000
|
7 |
RUN pip install -r requirements.txt
|
8 |
|
9 |
+
ENTRYPOINT ["streamlit", "run", "app.py"]
|
10 |
|
utils.py
CHANGED
@@ -376,7 +376,7 @@ def load_state_vars(username=USERNAME, percentile=0.95):
|
|
376 |
|
377 |
UPDATE_INTERVAL = 600
|
378 |
|
379 |
-
df_runs = build_data(time.time()//UPDATE_INTERVAL, use_cache=
|
380 |
|
381 |
df_runs = df_runs.loc[df_runs.netuid.isin([1,61,102])]
|
382 |
st.toast(f'Loaded {len(df_runs)} runs')
|
|
|
376 |
|
377 |
UPDATE_INTERVAL = 600
|
378 |
|
379 |
+
df_runs = build_data(time.time()//UPDATE_INTERVAL, use_cache=False)
|
380 |
|
381 |
df_runs = df_runs.loc[df_runs.netuid.isin([1,61,102])]
|
382 |
st.toast(f'Loaded {len(df_runs)} runs')
|