multimodalart HF staff commited on
Commit
9a10204
1 Parent(s): 1b7bc92

Update gallery_history.py

Browse files
Files changed (1) hide show
  1. gallery_history.py +3 -3
gallery_history.py CHANGED
@@ -33,11 +33,11 @@ IMAGES_FOLDER_PATH.mkdir(parents=True, exist_ok=True)
33
 
34
 
35
  def show_gallery_history():
36
- gr.Markdown("## Past images\n\nYou must be logged in to activate it.")
37
  with gr.Column():
38
  with gr.Row():
39
- gr.LoginButton()
40
- gr.LogoutButton()
41
  gallery = gr.Gallery(
42
  label="Past images",
43
  show_label=True,
 
33
 
34
 
35
  def show_gallery_history():
36
+ gr.Markdown("## Your past generations\n\n(log in to keep a gallery of your previous generations)")
37
  with gr.Column():
38
  with gr.Row():
39
+ gr.LoginButton(min_width=250)
40
+ gr.LogoutButton(min_width=250)
41
  gallery = gr.Gallery(
42
  label="Past images",
43
  show_label=True,