Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|