Spaces:
Sleeping
Sleeping
crazyscientist
commited on
Commit
•
5e7a385
1
Parent(s):
6ce5c48
Update appTest.py
Browse files- appTest.py +2 -2
appTest.py
CHANGED
@@ -26,7 +26,7 @@ with input:
|
|
26 |
image = Image.open(imageInput)
|
27 |
ogInp = image
|
28 |
img_array = np.array(image)
|
29 |
-
output, cellImgs = main("
|
30 |
showImg = Image.fromarray(output)
|
31 |
if st.button("Preview"):
|
32 |
if imageInput is not None:
|
@@ -102,4 +102,4 @@ with outputIm:
|
|
102 |
|
103 |
# with parameters:
|
104 |
# st.header("Parameters")
|
105 |
-
|
|
|
26 |
image = Image.open(imageInput)
|
27 |
ogInp = image
|
28 |
img_array = np.array(image)
|
29 |
+
output, cellImgs = main("best_model.pth", img_array)
|
30 |
showImg = Image.fromarray(output)
|
31 |
if st.button("Preview"):
|
32 |
if imageInput is not None:
|
|
|
102 |
|
103 |
# with parameters:
|
104 |
# st.header("Parameters")
|
105 |
+
|