multimodalart HF Staff commited on
Commit
ad4356a
·
verified ·
1 Parent(s): 53a376c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -87,7 +87,7 @@ def infer_light_migration(
87
  num_inference_steps: int = 8,
88
  height: Optional[int] = None,
89
  width: Optional[int] = None,
90
- progress: Optional[gr.Progress] = gr.Progress(track_tqdm=True)
91
  ) -> Tuple[Image.Image, int]:
92
  """
93
  Transfer lighting and color tones from a reference image to a source image
@@ -124,7 +124,6 @@ def infer_light_migration(
124
  - The relit output image.
125
  - The actual seed used for generation.
126
  """
127
- progress = gr.Progress(track_tqdm=True)
128
 
129
  if image is None:
130
  raise gr.Error("Please upload a source image (Image 1).")
 
87
  num_inference_steps: int = 8,
88
  height: Optional[int] = None,
89
  width: Optional[int] = None,
90
+ # progress: Optional[gr.Progress] = gr.Progress(track_tqdm=True)
91
  ) -> Tuple[Image.Image, int]:
92
  """
93
  Transfer lighting and color tones from a reference image to a source image
 
124
  - The relit output image.
125
  - The actual seed used for generation.
126
  """
 
127
 
128
  if image is None:
129
  raise gr.Error("Please upload a source image (Image 1).")