Wauplin HF staff commited on
Commit
3db09b3
1 Parent(s): 1b24ae2

Update gallery_history.py

Browse files
Files changed (1) hide show
  1. gallery_history.py +5 -3
gallery_history.py CHANGED
@@ -35,8 +35,7 @@ IMAGES_FOLDER_PATH.mkdir(parents=True, exist_ok=True)
35
  def show_gallery_history():
36
  gr.Markdown(
37
  "## Your past generations\n\n(Log in to keep a gallery of your previous generations."
38
- " Your history will be saved and available on your next visit. We reserve the right "
39
- "to delete the history without further notice.)"
40
  )
41
  with gr.Column():
42
  with gr.Row():
@@ -47,12 +46,15 @@ def show_gallery_history():
47
  show_label=True,
48
  elem_id="gallery",
49
  object_fit="contain",
50
- height=300,
51
  columns=3,
 
52
  preview=False,
53
  show_share_button=False,
54
  show_download_button=False,
55
  )
 
 
 
56
  gallery.attach_load_event(fetch_gallery_history, every=None)
57
  return gallery
58
 
 
35
  def show_gallery_history():
36
  gr.Markdown(
37
  "## Your past generations\n\n(Log in to keep a gallery of your previous generations."
38
+ " Your history will be saved and available on your next visit.)"
 
39
  )
40
  with gr.Column():
41
  with gr.Row():
 
46
  show_label=True,
47
  elem_id="gallery",
48
  object_fit="contain",
 
49
  columns=3,
50
+ height=300,
51
  preview=False,
52
  show_share_button=False,
53
  show_download_button=False,
54
  )
55
+ gr.Markdown(
56
+ "We reserve the right to delete the history without further notice."
57
+ )
58
  gallery.attach_load_event(fetch_gallery_history, every=None)
59
  return gallery
60