Spaces:
Build error
Build error
ayaderaghul
commited on
Commit
•
f1e328a
1
Parent(s):
d4e74b8
Update app.py
Browse files
app.py
CHANGED
@@ -76,6 +76,7 @@ def show_preds_image(image_path):
|
|
76 |
# B = np.squeeze(B,axis=0)
|
77 |
B = B[0]
|
78 |
B = B * 0.5 + 0.5
|
|
|
79 |
return B
|
80 |
|
81 |
inputs_image = [
|
|
|
76 |
# B = np.squeeze(B,axis=0)
|
77 |
B = B[0]
|
78 |
B = B * 0.5 + 0.5
|
79 |
+
B = B.numpy()
|
80 |
return B
|
81 |
|
82 |
inputs_image = [
|