JiantaoLin commited on
Commit
873da0f
·
1 Parent(s): 7b8e6e3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -154,8 +154,8 @@ def text_to_image(prompt, seed=None, strength=1.0,lora_scale=1.0, num_inference_
154
  # print(f"Before text_to_image: {torch.cuda.memory_allocated() / 1024**3} GB")
155
  k3d_wrapper.renew_uuid()
156
  init_image = None
157
- if init_image_path is not None:
158
- init_image = Image.open(init_image_path)
159
  result = k3d_wrapper.generate_3d_bundle_image_text(
160
  prompt,
161
  image=init_image,
 
154
  # print(f"Before text_to_image: {torch.cuda.memory_allocated() / 1024**3} GB")
155
  k3d_wrapper.renew_uuid()
156
  init_image = None
157
+ # if init_image_path is not None:
158
+ # init_image = Image.open(init_image_path)
159
  result = k3d_wrapper.generate_3d_bundle_image_text(
160
  prompt,
161
  image=init_image,