SmilingWolf commited on
Commit
b91263b
1 Parent(s): 74bd9c8

Slightly move things around in the interface

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -188,11 +188,16 @@ def main():
188
  with gr.Column():
189
  positive_tags = gr.Textbox(label="Positive tags")
190
  negative_tags = gr.Textbox(label="Negative tags")
191
- with gr.Column():
192
  selected_model = gr.Radio(
193
  choices=["CLIP", "SigLIP"],
194
  value="CLIP",
195
- label="Model",
 
 
 
 
 
 
196
  )
197
  n_neighbours = gr.Slider(
198
  minimum=1,
@@ -201,12 +206,6 @@ def main():
201
  step=1,
202
  label="# of images",
203
  )
204
- with gr.Column():
205
- selected_ratings = gr.CheckboxGroup(
206
- choices=["General", "Sensitive", "Questionable", "Explicit"],
207
- value=["General", "Sensitive"],
208
- label="Ratings",
209
- )
210
  with gr.Row():
211
  api_username = gr.Textbox(label="Danbooru API Username")
212
  api_key = gr.Textbox(label="Danbooru API Key")
 
188
  with gr.Column():
189
  positive_tags = gr.Textbox(label="Positive tags")
190
  negative_tags = gr.Textbox(label="Negative tags")
 
191
  selected_model = gr.Radio(
192
  choices=["CLIP", "SigLIP"],
193
  value="CLIP",
194
+ label="Tags embedding model",
195
+ )
196
+ with gr.Column():
197
+ selected_ratings = gr.CheckboxGroup(
198
+ choices=["General", "Sensitive", "Questionable", "Explicit"],
199
+ value=["General", "Sensitive"],
200
+ label="Ratings",
201
  )
202
  n_neighbours = gr.Slider(
203
  minimum=1,
 
206
  step=1,
207
  label="# of images",
208
  )
 
 
 
 
 
 
209
  with gr.Row():
210
  api_username = gr.Textbox(label="Danbooru API Username")
211
  api_key = gr.Textbox(label="Danbooru API Key")