Skip to content

Commit

Permalink
Merge pull request #585 from IAHispano/formatter-main
Browse files Browse the repository at this point in the history
chore(format): run black on main
  • Loading branch information
blaisewf authored Aug 12, 2024
2 parents 44e03b5 + 33e486c commit 5d75848
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tabs/inference/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ def inference_tab():
inputs=import_file,
outputs=[preset_dropdown],
)
presets_refresh_button.click(refresh_presets, outputs=preset_dropdown)
presets_refresh_button.click(
refresh_presets, outputs=preset_dropdown
)
with gr.Row():
preset_name_input = gr.Textbox(
label=i18n("Preset Name"),
Expand Down Expand Up @@ -690,7 +692,9 @@ def inference_tab():
choices=list_json_files(PRESETS_DIR),
interactive=True,
)
presets_batch_refresh_button = gr.Button(i18n("Refresh Presets"))
presets_batch_refresh_button = gr.Button(
i18n("Refresh Presets")
)
import_file = gr.File(
label=i18n("Select file to import"),
file_count="single",
Expand All @@ -702,7 +706,9 @@ def inference_tab():
inputs=import_file,
outputs=[preset_dropdown],
)
presets_batch_refresh_button.click(refresh_presets, outputs=preset_dropdown)
presets_batch_refresh_button.click(
refresh_presets, outputs=preset_dropdown
)
with gr.Row():
preset_name_input = gr.Textbox(
label=i18n("Preset Name"),
Expand Down

0 comments on commit 5d75848

Please sign in to comment.