Samuel Stevens commited on
Commit
29d1b06
·
1 Parent(s): 2edabd1

Trying to fix bugs

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -283,7 +283,7 @@ def get_sae_examples(
283
  Given a particular cell, returns some highlighted images showing what feature fires most on this cell.
284
  """
285
  if not patches:
286
- return [None] * 12 + [-1] * 3
287
 
288
  logger.info("Getting SAE examples for patches %s.", patches)
289
 
 
283
  Given a particular cell, returns some highlighted images showing what feature fires most on this cell.
284
  """
285
  if not patches:
286
+ return [None] * n_sae_latents * n_sae_examples + [-1] * n_sae_latents
287
 
288
  logger.info("Getting SAE examples for patches %s.", patches)
289
 
requirements.txt CHANGED
@@ -297,7 +297,7 @@ ruff==0.9.6
297
  # via
298
  # gradio
299
  # marimo
300
- saev @ git+https://github.com/samuelstevens/saev@83a442210c81b09e71e68e63ff7e5aadb84e0e87
301
  # via saev-image-classification (pyproject.toml)
302
  safehttpx==0.1.6
303
  # via gradio
 
297
  # via
298
  # gradio
299
  # marimo
300
+ saev @ git+https://github.com/samuelstevens/saev@928cb62084e88118e792ff6fc8cc043ec250f0ff
301
  # via saev-image-classification (pyproject.toml)
302
  safehttpx==0.1.6
303
  # via gradio