multimodalart HF staff commited on
Commit
4e1c485
1 Parent(s): 69ac06c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -147,6 +147,7 @@ def shuffle_images():
147
  compatible_items = [item for item in sdxl_loras if item['is_compatible']]
148
  random.shuffle(compatible_items)
149
  two_shuffled_items = compatible_items[:2]
 
150
  title_1 = gr.update(label=two_shuffled_items[0]['title'], value=two_shuffled_items[0]['image'])
151
  title_2 = gr.update(label=two_shuffled_items[1]['title'], value=two_shuffled_items[1]['image'])
152
  repo_id_1 = gr.update(value=two_shuffled_items[0]['repo'])
 
147
  compatible_items = [item for item in sdxl_loras if item['is_compatible']]
148
  random.shuffle(compatible_items)
149
  two_shuffled_items = compatible_items[:2]
150
+ print(two_shuffled_items)
151
  title_1 = gr.update(label=two_shuffled_items[0]['title'], value=two_shuffled_items[0]['image'])
152
  title_2 = gr.update(label=two_shuffled_items[1]['title'], value=two_shuffled_items[1]['image'])
153
  repo_id_1 = gr.update(value=two_shuffled_items[0]['repo'])