PR-Puppets commited on
Commit
856ead0
1 Parent(s): 71a6f05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -246,7 +246,7 @@ with gr.Blocks(css=css) as demo:
246
  )
247
  existing_metadata = pd.read_csv(metadata_path)
248
  print(existing_metadata)
249
- for index, generation_list in existing_metadata.iloc[::-1].iterrows():
250
  print(generation_list)
251
  generation_prompt = generation_list['prompt']
252
  generation = generation_list['original_url']
 
246
  )
247
  existing_metadata = pd.read_csv(metadata_path)
248
  print(existing_metadata)
249
+ for index, generation_list in existing_metadata.iloc[-list_size:][::-1].iterrows():
250
  print(generation_list)
251
  generation_prompt = generation_list['prompt']
252
  generation = generation_list['original_url']