fffiloni commited on
Commit
fe3f83a
·
verified ·
1 Parent(s): 40d9091

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -338,6 +338,7 @@ def infer_compo(style_description, ref_style_file, caption, ref_sub_file, progre
338
  else:
339
  raise ValueError(f"Expected tensor of shape [3, H, W] but got {sampled.shape}")
340
 
 
341
  return output_file # Return the path to the saved image
342
 
343
  finally:
 
338
  else:
339
  raise ValueError(f"Expected tensor of shape [3, H, W] but got {sampled.shape}")
340
 
341
+ progress(1.0, "Inference complete")
342
  return output_file # Return the path to the saved image
343
 
344
  finally: