dattarij commited on
Commit
4590ef9
1 Parent(s): 83f30ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ DEFAULT_IMAGE = "original_image.jpg"
14
  with open(SEMANTIC_DIPOLES_FILE, "r") as f:
15
  semantic_dipoles = json.load(f)
16
  # Transform semantic_dipoles into "A -> B" format
17
- formatted_dipoles = [f"{pair[1]]} -> {pair[0]}" for pair in semantic_dipoles]
18
 
19
  # Helper to list all latent code folders
20
  latent_code_folders = sorted(
 
14
  with open(SEMANTIC_DIPOLES_FILE, "r") as f:
15
  semantic_dipoles = json.load(f)
16
  # Transform semantic_dipoles into "A -> B" format
17
+ formatted_dipoles = [f"{pair[1]} -> {pair[0]}" for pair in semantic_dipoles]
18
 
19
  # Helper to list all latent code folders
20
  latent_code_folders = sorted(