Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -166,12 +166,11 @@ if __name__ == '__main__':
|
|
| 166 |
gr_btn_submit = gr.Button(value='Tagging', variant='primary')
|
| 167 |
|
| 168 |
with gr.Column():
|
| 169 |
-
gr_ratings = gr.Label(label='Ratings')
|
| 170 |
gr_output_text = gr.TextArea(label='Exported Text')
|
| 171 |
|
| 172 |
gr_btn_submit.click(
|
| 173 |
image_to_wd14_tags,
|
| 174 |
inputs=[gr_input_image, gr_model, gr_threshold, gr_space, gr_escape, gr_confidence, gr_order],
|
| 175 |
-
outputs=[gr_output_text
|
| 176 |
)
|
| 177 |
demo.launch()
|
|
|
|
| 166 |
gr_btn_submit = gr.Button(value='Tagging', variant='primary')
|
| 167 |
|
| 168 |
with gr.Column():
|
|
|
|
| 169 |
gr_output_text = gr.TextArea(label='Exported Text')
|
| 170 |
|
| 171 |
gr_btn_submit.click(
|
| 172 |
image_to_wd14_tags,
|
| 173 |
inputs=[gr_input_image, gr_model, gr_threshold, gr_space, gr_escape, gr_confidence, gr_order],
|
| 174 |
+
outputs=[gr_output_text],
|
| 175 |
)
|
| 176 |
demo.launch()
|