LL3RD commited on
Commit
62b2b0a
·
1 Parent(s): e80bd5f
__pycache__/dreamfuse_inference.cpython-310.pyc CHANGED
Binary files a/__pycache__/dreamfuse_inference.cpython-310.pyc and b/__pycache__/dreamfuse_inference.cpython-310.pyc differ
 
app.py CHANGED
@@ -512,7 +512,7 @@ class DreamFuseGUI:
512
  label="Resolution (Higher resolution improves quality, but slows down generation.)",
513
  )
514
  prompt_text = gr.Textbox(label="Prompt", placeholder="text prompt", value="")
515
- text_strength = gr.Slider(minimum=1, maximum=10, step=1, label="Text Strength", value=1, visible=False)
516
  enable_gui = gr.Checkbox(label="GUI", value=True, visible=False)
517
  enable_truecfg = gr.Checkbox(label="TrueCFG", value=False, visible=False)
518
  with gr.Column(scale=1, elem_id="section-results"):
 
512
  label="Resolution (Higher resolution improves quality, but slows down generation.)",
513
  )
514
  prompt_text = gr.Textbox(label="Prompt", placeholder="text prompt", value="")
515
+ text_strength = gr.Slider(minimum=1, maximum=10, step=1, label="Text Strength (Improve text strength to increase responsiveness)", value=1, visible=True)
516
  enable_gui = gr.Checkbox(label="GUI", value=True, visible=False)
517
  enable_truecfg = gr.Checkbox(label="TrueCFG", value=False, visible=False)
518
  with gr.Column(scale=1, elem_id="section-results"):
dreamfuse/models/dreamfuse_flux/__pycache__/flux_processor.cpython-310.pyc CHANGED
Binary files a/dreamfuse/models/dreamfuse_flux/__pycache__/flux_processor.cpython-310.pyc and b/dreamfuse/models/dreamfuse_flux/__pycache__/flux_processor.cpython-310.pyc differ
 
dreamfuse/models/dreamfuse_flux/__pycache__/transformer.cpython-310.pyc CHANGED
Binary files a/dreamfuse/models/dreamfuse_flux/__pycache__/transformer.cpython-310.pyc and b/dreamfuse/models/dreamfuse_flux/__pycache__/transformer.cpython-310.pyc differ
 
dreamfuse/trains/utils/__pycache__/inference_utils.cpython-310.pyc CHANGED
Binary files a/dreamfuse/trains/utils/__pycache__/inference_utils.cpython-310.pyc and b/dreamfuse/trains/utils/__pycache__/inference_utils.cpython-310.pyc differ
 
dreamfuse_inference.py CHANGED
@@ -318,8 +318,8 @@ class DreamFuseInference:
318
  trans = {}
319
 
320
  size_select = int(size_select)
321
- if size_select == 1024 and prompt != "": text_strength = 5
322
- if size_select == 768 and prompt != "": text_strength = 3
323
 
324
  r, g, b, ori_a = foreground_img.split()
325
  fg_img_scale, fg_img = self.transform_foreground_original(foreground_img, background_img, trans)
 
318
  trans = {}
319
 
320
  size_select = int(size_select)
321
+ # if size_select == 1024 and prompt != "": text_strength = 5
322
+ # if size_select == 768 and prompt != "": text_strength = 3
323
 
324
  r, g, b, ori_a = foreground_img.split()
325
  fg_img_scale, fg_img = self.transform_foreground_original(foreground_img, background_img, trans)
requirements.txt CHANGED
@@ -23,7 +23,7 @@ transformers_stream_generator==0.0.5
23
  ftfy
24
  bs4
25
  bson==0.5.10
26
- gradio==5.12.0
27
  httpx
28
  fairscale==0.4.13
29
  kornia
 
23
  ftfy
24
  bs4
25
  bson==0.5.10
26
+ gradio==5.12.0
27
  httpx
28
  fairscale==0.4.13
29
  kornia