tweak height
Browse files
app.py
CHANGED
@@ -151,13 +151,11 @@ with gr.Blocks(css=".output-class { display: none; }") as demo:
|
|
151 |
## Joint Tagger Project: PILOT Demo
|
152 |
This tagger is designed for use on furry images (though may very well work on out-of-distribution images, potentially with funny results). A threshold of 0.2 is recommended. Lower thresholds often turn up more valid tags, but can also result in some amount of hallucinated tags.
|
153 |
|
154 |
-
This tagger is the result of joint efforts between members of the RedRocket team.
|
155 |
-
|
156 |
-
Special thanks to Minotoro at frosting.ai for providing the compute power for this project.
|
157 |
""")
|
158 |
gr.Interface(
|
159 |
create_tags,
|
160 |
-
inputs=[gr.Image(label="Source", sources=['upload'], type='pil', height="
|
161 |
outputs=[
|
162 |
gr.Textbox(label="Tag String"),
|
163 |
gr.Label(label="Tag Predictions", num_top_classes=200, show_label=False),
|
|
|
151 |
## Joint Tagger Project: PILOT Demo
|
152 |
This tagger is designed for use on furry images (though may very well work on out-of-distribution images, potentially with funny results). A threshold of 0.2 is recommended. Lower thresholds often turn up more valid tags, but can also result in some amount of hallucinated tags.
|
153 |
|
154 |
+
This tagger is the result of joint efforts between members of the RedRocket team. Special thanks to Minotoro at frosting.ai for providing the compute power for this project.
|
|
|
|
|
155 |
""")
|
156 |
gr.Interface(
|
157 |
create_tags,
|
158 |
+
inputs=[gr.Image(label="Source", sources=['upload'], type='pil', height="50vh", show_label=False), gr.Slider(minimum=0.00, maximum=1.00, step=0.01, value=0.20, label="Threshold")],
|
159 |
outputs=[
|
160 |
gr.Textbox(label="Tag String"),
|
161 |
gr.Label(label="Tag Predictions", num_top_classes=200, show_label=False),
|