Spaces:
Build error
Build error
Update app.py
Browse files168 unmodified lines169170171172173174175176172177178179180181177182183184168 unmodified lines gr_btn_submit = gr.Button(value='Tagging', variant='primary')
with gr.Column(): gr_ratings = gr.Label(label='Ratings') with gr.Tabs(): with gr.Tab("Tags"): gr_tags = gr.Label(label='Tags') with gr.Tab("Exported Text"): gr_output_text = gr.TextArea(label='Exported Text') gr_output_text = gr.TextArea(label='Exported Text')
gr_btn_submit.click( image_to_wd14_tags, inputs=[gr_input_image, gr_model, gr_threshold, gr_space, gr_escape, gr_confidence, gr_order], outputs=[gr_output_text], outputs=[gr_ratings, gr_output_text, gr_tags], ) demo.launch()app.py+7-2