John6666 commited on
Commit
d2e9656
·
verified ·
1 Parent(s): 12ae35c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ from modutils import (search_civitai_lora, select_civitai_lora, search_civitai_l
25
  update_loras_flux, update_civitai_selection, get_civitai_tag, CIVITAI_SORT, CIVITAI_PERIOD,
26
  get_t2i_model_info, download_hf_file, save_image_history)
27
  from tagger.tagger import predict_tags_wd, compose_prompt_to_copy
28
- from tagger.fl2flux import predict_tags_fl2_flux
29
 
30
  #Load prompts for randomization
31
  df = pd.read_csv('prompts.csv', header=None)
@@ -956,7 +956,7 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=css, delete_ca
956
  [tagger_image, prompt, tagger_algorithms, tagger_general_threshold, tagger_character_threshold],
957
  [v2_series, v2_character, prompt, v2_copy],
958
  show_api=False,
959
- ).success(predict_tags_fl2_flux, [tagger_image, prompt, tagger_algorithms], [prompt], show_api=False,
960
  ).success(compose_prompt_to_copy, [v2_character, v2_series, prompt], [prompt], queue=False, show_api=False)
961
 
962
  with gr.Tab("FLUX Prompt Generator"):
 
25
  update_loras_flux, update_civitai_selection, get_civitai_tag, CIVITAI_SORT, CIVITAI_PERIOD,
26
  get_t2i_model_info, download_hf_file, save_image_history)
27
  from tagger.tagger import predict_tags_wd, compose_prompt_to_copy
28
+ #from tagger.fl2flux import predict_tags_fl2_flux
29
 
30
  #Load prompts for randomization
31
  df = pd.read_csv('prompts.csv', header=None)
 
956
  [tagger_image, prompt, tagger_algorithms, tagger_general_threshold, tagger_character_threshold],
957
  [v2_series, v2_character, prompt, v2_copy],
958
  show_api=False,
959
+ #).success(predict_tags_fl2_flux, [tagger_image, prompt, tagger_algorithms], [prompt], show_api=False,
960
  ).success(compose_prompt_to_copy, [v2_character, v2_series, prompt], [prompt], queue=False, show_api=False)
961
 
962
  with gr.Tab("FLUX Prompt Generator"):