Nightfury16 commited on
Commit
8c333c0
·
1 Parent(s): 1b6d9ec

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -41,6 +41,10 @@ def sync_pull():
41
  except Exception as e:
42
  print(f"ℹ️ {filename} sync info: {e}")
43
 
 
 
 
 
44
 
45
  def sync_push_background(local_path, remote_filename):
46
  if not HF_TOKEN: return
@@ -88,7 +92,6 @@ def get_image_optimized(url):
88
  except: pass
89
  return url
90
 
91
- # CHANGED: Updated parsing logic for new_urls.json structure
92
  def load_all_urls():
93
  urls = []
94
  if not os.path.exists(URL_FILE):
 
41
  except Exception as e:
42
  print(f"ℹ️ {filename} sync info: {e}")
43
 
44
+ MAX_IMAGES = 6
45
+ THUMB_SIZE = (350, 350)
46
+ ROOM_CLASSES = ["living_room", "bedroom", "kitchen", "bathroom", "dining_room", "outdoor", "other"]
47
+
48
 
49
  def sync_push_background(local_path, remote_filename):
50
  if not HF_TOKEN: return
 
92
  except: pass
93
  return url
94
 
 
95
  def load_all_urls():
96
  urls = []
97
  if not os.path.exists(URL_FILE):