mirror of
https://github.com/artegoser/image-pluser-webui.git
synced 2025-02-23 12:43:15 +03:00
fix: name of method and formatting
This commit is contained in:
parent
1b259c886f
commit
fbc9112fba
9 changed files with 61 additions and 45 deletions
|
@ -3,17 +3,22 @@ from processing.bulk import bulk_processing
|
|||
|
||||
with gr.Blocks() as app:
|
||||
gr.Markdown(
|
||||
"Mass processing of images one at a time and saving to video if needed. # **WIP, not working**")
|
||||
"Mass processing of images one at a time and saving to video if needed. # **WIP, not working**"
|
||||
)
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
directory = gr.Text(
|
||||
placeholder="A directory with many images.", lines=1, label="Directory")
|
||||
placeholder="A directory with many images.", lines=1, label="Directory"
|
||||
)
|
||||
method = gr.Dropdown(
|
||||
choices=["canny edge", "sharpen"], value="canny edge", label="Method")
|
||||
choices=["canny edge", "sharpen"], value="canny edge", label="Method"
|
||||
)
|
||||
|
||||
with gr.Accordion("Advanced settings", open=False) as acc:
|
||||
out_dir = gr.Text(
|
||||
label="Output directory", placeholder="The directory where the processed photos will be saved. If not specified `./output/images`")
|
||||
label="Output directory",
|
||||
placeholder="The directory where the processed photos will be saved. If not specified `./output/images`",
|
||||
)
|
||||
submit = gr.Button("Submit")
|
||||
submit.click(
|
||||
fn=bulk_processing,
|
||||
|
|
Loading…
Add table
Reference in a new issue