LL3RD commited on
Commit
0275bf6
Β·
1 Parent(s): f347763
__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
@@ -48,6 +48,8 @@ class DreamFuseGUI:
48
  "./examples/handheld_001_0.png"],
49
  ["./examples/style_000_1.jpg",
50
  "./examples/style_000_0.jpg"],
 
 
51
  ]
52
  self.examples = [[Image.open(x) for x in example] for example in self.examples]
53
  self.css_style = self._get_css_style()
@@ -448,7 +450,14 @@ class DreamFuseGUI:
448
 
449
  with gr.Blocks(css=self.css_style) as demo:
450
  modified_fg_state = gr.State()
451
- gr.Markdown("# DreamFuse")
 
 
 
 
 
 
 
452
  gr.Markdown('## πŸ“Œ 4 Easy Steps to Create Your Fusion Image:')
453
  gr.Markdown(
454
  """
@@ -497,32 +506,45 @@ class DreamFuseGUI:
497
  transformation_text = gr.Textbox(label="Transformation Info", elem_id="transformation_info", visible=False)
498
  model_output = gr.Image(label="Model Output", type="pil", height=512, width=512)
499
 
500
- with gr.Row():
501
- with gr.Column(scale=1):
502
- gr.Examples(
503
- examples=[self.examples[0]],
504
- inputs=[background_img_in, draggable_img_in],
505
- # elem_id="small-examples"
506
- )
507
- with gr.Column(scale=1):
508
- gr.Examples(
509
- examples=[self.examples[2]],
510
- inputs=[background_img_in, draggable_img_in],
511
- # elem_id="small-examples"
512
- )
513
- with gr.Row():
514
- with gr.Column(scale=1):
515
- gr.Examples(
516
- examples=[self.examples[1]],
517
- inputs=[background_img_in, draggable_img_in],
518
- # elem_id="small-examples"
519
- )
520
- with gr.Column(scale=1):
521
- gr.Examples(
522
- examples=[self.examples[3]],
523
- inputs=[background_img_in, draggable_img_in],
524
- # elem_id="small-examples"
525
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
526
 
527
  generate_btn.click(
528
  fn=self.on_upload,
 
48
  "./examples/handheld_001_0.png"],
49
  ["./examples/style_000_1.jpg",
50
  "./examples/style_000_0.jpg"],
51
+ ["./examples/wear_000_1.jpg",
52
+ "./examples/wear_000_0.jpg"],
53
  ]
54
  self.examples = [[Image.open(x) for x in example] for example in self.examples]
55
  self.css_style = self._get_css_style()
 
450
 
451
  with gr.Blocks(css=self.css_style) as demo:
452
  modified_fg_state = gr.State()
453
+ gr.HTML(
454
+ """
455
+ <div style="display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px;">
456
+ <img src="./examples/logo.png" style="height: 40px;" />
457
+ <h1 style="margin: 0; font-size: 32px;">DreamFuse</h1>
458
+ </div>
459
+ """
460
+ )
461
  gr.Markdown('## πŸ“Œ 4 Easy Steps to Create Your Fusion Image:')
462
  gr.Markdown(
463
  """
 
506
  transformation_text = gr.Textbox(label="Transformation Info", elem_id="transformation_info", visible=False)
507
  model_output = gr.Image(label="Model Output", type="pil", height=512, width=512)
508
 
509
+ with gr.Row():
510
+ with gr.Column(scale=1):
511
+ gr.Examples(
512
+ examples=[self.examples[0]],
513
+ inputs=[background_img_in, draggable_img_in],
514
+ # elem_id="small-examples"
515
+ )
516
+ with gr.Column(scale=1):
517
+ gr.Examples(
518
+ examples=[self.examples[2]],
519
+ inputs=[background_img_in, draggable_img_in],
520
+ # elem_id="small-examples"
521
+ )
522
+ with gr.Row():
523
+ with gr.Column(scale=1):
524
+ gr.Examples(
525
+ examples=[self.examples[1]],
526
+ inputs=[background_img_in, draggable_img_in],
527
+ # elem_id="small-examples"
528
+ )
529
+ with gr.Column(scale=1):
530
+ gr.Examples(
531
+ examples=[self.examples[3]],
532
+ inputs=[background_img_in, draggable_img_in],
533
+ # elem_id="small-examples"
534
+ )
535
+ with gr.Row():
536
+ with gr.Column(scale=1):
537
+ gr.Examples(
538
+ examples=[self.examples[4]],
539
+ inputs=[background_img_in, draggable_img_in],
540
+ # elem_id="small-examples"
541
+ )
542
+ with gr.Column(scale=1):
543
+ gr.Examples(
544
+ examples=[self.examples[5]],
545
+ inputs=[background_img_in, draggable_img_in],
546
+ # elem_id="small-examples"
547
+ )
548
 
549
  generate_btn.click(
550
  fn=self.on_upload,
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
 
examples/logo.png ADDED

Git LFS Details

  • SHA256: b740fb0670e54ce6a85452f9c466eda41b1532f6fc67b513f6725fa5885f56ca
  • Pointer size: 131 Bytes
  • Size of remote file: 374 kB
examples/wear_000_0.jpg ADDED

Git LFS Details

  • SHA256: 2c90beae9ed5e5ac3168306590c55bf1934adf9976b9290352685ed9f7a6d911
  • Pointer size: 130 Bytes
  • Size of remote file: 19.6 kB
examples/wear_000_1.jpg ADDED

Git LFS Details

  • SHA256: bdeb149c06cf62dc43475efe3034c60cf45e1e154c8aff2c9efcf292352b99a7
  • Pointer size: 130 Bytes
  • Size of remote file: 53.5 kB