Spaces:
Running
Running
Commit
·
811f999
1
Parent(s):
41164d3
Update app.py
Browse files
app.py
CHANGED
|
@@ -214,7 +214,7 @@ def model_process(input):
|
|
| 214 |
res_np_img = np.concatenate(
|
| 215 |
(res_np_img, alpha_channel[:, :, np.newaxis]), axis=-1
|
| 216 |
)
|
| 217 |
-
print(f"process time_2_: {(time.time() - start) * 1000}ms, {alpha_channel.shape}, {res_np_img.shape} / {res_np_img[250][250]}")
|
| 218 |
image = Image.fromarray(res_np_img)
|
| 219 |
image.save(f'./result_image.png')
|
| 220 |
return image
|
|
|
|
| 214 |
res_np_img = np.concatenate(
|
| 215 |
(res_np_img, alpha_channel[:, :, np.newaxis]), axis=-1
|
| 216 |
)
|
| 217 |
+
print(f"process time_2_: {(time.time() - start) * 1000}ms, {alpha_channel.shape}, {res_np_img.shape} / {res_np_img[250][250]} / {res_np_img.dtype}")
|
| 218 |
image = Image.fromarray(res_np_img)
|
| 219 |
image.save(f'./result_image.png')
|
| 220 |
return image
|