bkb2135 commited on
Commit
90ceb20
·
1 Parent(s): 544560f

Don't Use Cache

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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 ["python", "server.py"]
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=True)
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')