Commit
·
610f512
1
Parent(s):
4f7865a
Rearrange UI
Browse files
app.py
CHANGED
@@ -172,12 +172,12 @@ def main():
|
|
172 |
with gr.Row():
|
173 |
api_username = gr.Textbox(label="Danbooru API Username")
|
174 |
api_key = gr.Textbox(label="Danbooru API Key")
|
|
|
|
|
|
|
|
|
|
|
175 |
with gr.Row():
|
176 |
-
selected_ratings = gr.CheckboxGroup(
|
177 |
-
choices=["General", "Sensitive", "Questionable", "Explicit"],
|
178 |
-
value=["General", "Sensitive"],
|
179 |
-
label="Ratings",
|
180 |
-
)
|
181 |
selected_metric = gr.Radio(
|
182 |
choices=["cosine"],
|
183 |
value="cosine",
|
|
|
172 |
with gr.Row():
|
173 |
api_username = gr.Textbox(label="Danbooru API Username")
|
174 |
api_key = gr.Textbox(label="Danbooru API Key")
|
175 |
+
selected_ratings = gr.CheckboxGroup(
|
176 |
+
choices=["General", "Sensitive", "Questionable", "Explicit"],
|
177 |
+
value=["General", "Sensitive"],
|
178 |
+
label="Ratings",
|
179 |
+
)
|
180 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
181 |
selected_metric = gr.Radio(
|
182 |
choices=["cosine"],
|
183 |
value="cosine",
|