Spaces:
Runtime error
Runtime error
added updated requirements.txt
Browse files- functions.py +1 -1
- requirements.txt +54 -84
functions.py
CHANGED
|
@@ -31,7 +31,7 @@ def nucleus_segmentation():
|
|
| 31 |
file = st.file_uploader('Upload an image or choose an example')
|
| 32 |
example_image = Image.open('./images/nucleus_segmentation_examples/'+selected_box2)
|
| 33 |
threshold = st.sidebar.slider("Select Threshold (Applied on model output)", 0.0, 1.0, 0.1)
|
| 34 |
-
col1, col2= st.
|
| 35 |
|
| 36 |
if file:
|
| 37 |
input = Image.open(file)
|
|
|
|
| 31 |
file = st.file_uploader('Upload an image or choose an example')
|
| 32 |
example_image = Image.open('./images/nucleus_segmentation_examples/'+selected_box2)
|
| 33 |
threshold = st.sidebar.slider("Select Threshold (Applied on model output)", 0.0, 1.0, 0.1)
|
| 34 |
+
col1, col2= st.columns(2)
|
| 35 |
|
| 36 |
if file:
|
| 37 |
input = Image.open(file)
|
requirements.txt
CHANGED
|
@@ -1,89 +1,59 @@
|
|
| 1 |
-
altair==
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
decorator==5.0.9
|
| 17 |
-
defusedxml==0.7.1
|
| 18 |
-
entrypoints==0.3
|
| 19 |
-
flatbuffers==2.0
|
| 20 |
-
gitdb==4.0.7
|
| 21 |
-
GitPython==3.1.18
|
| 22 |
-
idna==3.2
|
| 23 |
imutils==0.5.4
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
jupyter-client==6.1.12
|
| 33 |
-
jupyter-core==4.7.1
|
| 34 |
-
jupyterlab-pygments==0.1.2
|
| 35 |
-
jupyterlab-widgets==1.0.0
|
| 36 |
-
MarkupSafe==2.0.1
|
| 37 |
-
matplotlib-inline==0.1.2
|
| 38 |
-
mistune==0.8.4
|
| 39 |
-
nbclient==0.5.3
|
| 40 |
-
nbconvert==6.1.0
|
| 41 |
-
nbformat==5.1.3
|
| 42 |
-
nest-asyncio==1.5.1
|
| 43 |
-
notebook==6.4.0
|
| 44 |
-
numpy==1.21.1
|
| 45 |
onnxruntime==1.15.0
|
| 46 |
-
opencv-python
|
| 47 |
-
packaging==
|
| 48 |
-
pandas==
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
pyarrow==5.0.0
|
| 60 |
-
pycparser==2.20
|
| 61 |
-
pydeck==0.6.2
|
| 62 |
-
Pygments==2.9.0
|
| 63 |
-
pyparsing==2.4.7
|
| 64 |
-
pyrsistent==0.18.0
|
| 65 |
python-dateutil==2.8.2
|
| 66 |
-
pytz==
|
| 67 |
-
|
| 68 |
-
requests==2.
|
| 69 |
-
|
| 70 |
-
scipy==1.
|
| 71 |
-
Send2Trash==1.7.1
|
| 72 |
six==1.16.0
|
| 73 |
-
smmap==
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
threadpoolctl==2.2.0
|
| 79 |
toml==0.10.2
|
| 80 |
-
toolz==0.
|
| 81 |
-
tornado==6.
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
webencodings==0.5.1
|
| 89 |
-
widgetsnbextension==3.5.1
|
|
|
|
| 1 |
+
altair==5.0.1
|
| 2 |
+
attrs==23.1.0
|
| 3 |
+
blinker==1.6.2
|
| 4 |
+
cachetools==5.3.1
|
| 5 |
+
certifi==2023.5.7
|
| 6 |
+
charset-normalizer==3.1.0
|
| 7 |
+
click==8.1.3
|
| 8 |
+
coloredlogs==15.0.1
|
| 9 |
+
decorator==5.1.1
|
| 10 |
+
flatbuffers==23.5.26
|
| 11 |
+
gitdb==4.0.10
|
| 12 |
+
GitPython==3.1.31
|
| 13 |
+
humanfriendly==10.0
|
| 14 |
+
idna==3.4
|
| 15 |
+
importlib-metadata==6.6.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
imutils==0.5.4
|
| 17 |
+
Jinja2==3.1.2
|
| 18 |
+
joblib==1.2.0
|
| 19 |
+
jsonschema==4.17.3
|
| 20 |
+
markdown-it-py==2.2.0
|
| 21 |
+
MarkupSafe==2.1.3
|
| 22 |
+
mdurl==0.1.2
|
| 23 |
+
mpmath==1.3.0
|
| 24 |
+
numpy==1.24.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
onnxruntime==1.15.0
|
| 26 |
+
opencv-python==4.7.0.72
|
| 27 |
+
packaging==23.1
|
| 28 |
+
pandas==2.0.2
|
| 29 |
+
patsy==0.5.3
|
| 30 |
+
Pillow==9.5.0
|
| 31 |
+
plotly==5.15.0
|
| 32 |
+
plotly-express==0.4.1
|
| 33 |
+
protobuf==4.23.2
|
| 34 |
+
pyarrow==12.0.0
|
| 35 |
+
pydeck==0.8.1b0
|
| 36 |
+
Pygments==2.15.1
|
| 37 |
+
Pympler==1.0.1
|
| 38 |
+
pyrsistent==0.19.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
python-dateutil==2.8.2
|
| 40 |
+
pytz==2023.3
|
| 41 |
+
pytz-deprecation-shim==0.1.0.post0
|
| 42 |
+
requests==2.31.0
|
| 43 |
+
rich==13.4.1
|
| 44 |
+
scipy==1.10.1
|
|
|
|
| 45 |
six==1.16.0
|
| 46 |
+
smmap==5.0.0
|
| 47 |
+
statsmodels==0.14.0
|
| 48 |
+
streamlit==1.23.1
|
| 49 |
+
sympy==1.12
|
| 50 |
+
tenacity==8.2.2
|
|
|
|
| 51 |
toml==0.10.2
|
| 52 |
+
toolz==0.12.0
|
| 53 |
+
tornado==6.3.2
|
| 54 |
+
typing_extensions==4.6.3
|
| 55 |
+
tzdata==2023.3
|
| 56 |
+
tzlocal==4.3
|
| 57 |
+
urllib3==2.0.3
|
| 58 |
+
validators==0.20.0
|
| 59 |
+
zipp==3.15.0
|
|
|
|
|
|