neggles commited on
Commit
802ae2a
1 Parent(s): 996d695

move caption into tags tab

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -106,6 +106,9 @@ with gr.Blocks(theme="NoCrypt/miku", analytics_enabled=False, title=TITLE, css=c
106
  with gr.Tab(label="Grid"):
107
  heatmap_grid = gr.Image(show_label=False)
108
  with gr.Tab(label="Tags"):
 
 
 
109
  with gr.Group():
110
  rating = gr.Label(label="Rating")
111
  with gr.Group():
@@ -113,10 +116,6 @@ with gr.Blocks(theme="NoCrypt/miku", analytics_enabled=False, title=TITLE, css=c
113
  with gr.Group():
114
  general = gr.Label(label="General")
115
 
116
- with gr.Group():
117
- caption = gr.Textbox(label="Caption", show_copy_button=True)
118
- tags = gr.Textbox(label="Tags", show_copy_button=True)
119
-
120
  with gr.Row():
121
  examples = [[imgpath, 0.35] for imgpath in example_images]
122
  examples = gr.Examples(
 
106
  with gr.Tab(label="Grid"):
107
  heatmap_grid = gr.Image(show_label=False)
108
  with gr.Tab(label="Tags"):
109
+ with gr.Group():
110
+ caption = gr.Textbox(label="Caption", show_copy_button=True)
111
+ tags = gr.Textbox(label="Tags", show_copy_button=True)
112
  with gr.Group():
113
  rating = gr.Label(label="Rating")
114
  with gr.Group():
 
116
  with gr.Group():
117
  general = gr.Label(label="General")
118
 
 
 
 
 
119
  with gr.Row():
120
  examples = [[imgpath, 0.35] for imgpath in example_images]
121
  examples = gr.Examples(