Werli commited on
Commit
c0c5604
·
verified ·
1 Parent(s): 67dd367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -559,7 +559,7 @@ with gr.Blocks(title=TITLE, css=css, theme="Werli/Multi-Tagger", fill_width=True
559
  with gr.Row():
560
  upload_button = gr.UploadButton("Upload multiple images", file_types=["image"], file_count="multiple", size="sm")
561
  remove_button = gr.Button("Remove Selected Image", size="sm")
562
- gallery = gr.Gallery(columns=5, rows=5, show_share_button=False, interactive=True, height="500px", label="Gallery that displaying a grid of images")
563
 
564
  model_repo = gr.Dropdown(
565
  dropdown_list,
@@ -628,10 +628,10 @@ with gr.Blocks(title=TITLE, css=css, theme="Werli/Multi-Tagger", fill_width=True
628
  size="lg",
629
  )
630
  with gr.Column(variant="panel"):
631
- download_file = gr.File(label="Output (Download All)") # 0
632
  character_res = gr.Label(label="Output (characters)") # 1
633
- sorted_general_strings = gr.Textbox(label="Output (string)", show_label=True, show_copy_button=True) # 2
634
- final_categorized_output = gr.Textbox(label="Categorized Output (string)", show_label=True, show_copy_button=True) # 3
635
  categorized = gr.JSON(label="Categorized (tags)") # 4
636
  rating = gr.Label(label="Rating") # 5
637
  general_res = gr.Label(label="Output (tags)") # 6
 
559
  with gr.Row():
560
  upload_button = gr.UploadButton("Upload multiple images", file_types=["image"], file_count="multiple", size="sm")
561
  remove_button = gr.Button("Remove Selected Image", size="sm")
562
+ gallery = gr.Gallery(columns=5, rows=5, show_share_button=False, interactive=True, height="500px", label="Grid of images")
563
 
564
  model_repo = gr.Dropdown(
565
  dropdown_list,
 
628
  size="lg",
629
  )
630
  with gr.Column(variant="panel"):
631
+ download_file = gr.File(label="Download includes: All outputs* and image(s)") # 0
632
  character_res = gr.Label(label="Output (characters)") # 1
633
+ sorted_general_strings = gr.Textbox(label="Output (string)*", show_label=True, show_copy_button=True) # 2
634
+ final_categorized_output = gr.Textbox(label="Categorized (string)* | If it's too long, select an image to display tags correctly.", show_label=True, show_copy_button=True) # 3
635
  categorized = gr.JSON(label="Categorized (tags)") # 4
636
  rating = gr.Label(label="Rating") # 5
637
  general_res = gr.Label(label="Output (tags)") # 6