Trying older version of gradio + refactored req list
Browse files- demo/app.py +2 -2
- pre-requirements.txt +1 -1
- requirements.txt +0 -0
- setup.py +2 -2
demo/app.py
CHANGED
|
@@ -42,7 +42,7 @@ if __name__ == "__main__":
|
|
| 42 |
fn=load_mesh,
|
| 43 |
inputs=gr.UploadButton(label="Click to Upload a File", file_type=[".nii", ".nii.nz"], file_count="single"),
|
| 44 |
outputs=gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model"),
|
| 45 |
-
title="livermask
|
| 46 |
-
description="
|
| 47 |
)
|
| 48 |
demo.launch()
|
|
|
|
| 42 |
fn=load_mesh,
|
| 43 |
inputs=gr.UploadButton(label="Click to Upload a File", file_type=[".nii", ".nii.nz"], file_count="single"),
|
| 44 |
outputs=gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model"),
|
| 45 |
+
title="livermask: Automatic Liver Parenchyma segmentation in CT",
|
| 46 |
+
description="Using pretrained deep learning model trained on the LiTS17 dataset",
|
| 47 |
)
|
| 48 |
demo.launch()
|
pre-requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
gradio==3.32.0
|
| 2 |
livermask @ git+https://github.com/andreped/livermask.git
|
|
|
|
|
|
|
|
|
| 1 |
livermask @ git+https://github.com/andreped/livermask.git
|
| 2 |
+
gradio==3.16.0
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|
setup.py
CHANGED
|
@@ -10,7 +10,7 @@ with open('requirements.txt', 'r', encoding='utf-16', errors='ignore') as ff:
|
|
| 10 |
|
| 11 |
setup(
|
| 12 |
name='livermask',
|
| 13 |
-
version='1.4.
|
| 14 |
author="André Pedersen and Javier Pérez de Frutos",
|
| 15 |
author_email="andrped94@gmail.com",
|
| 16 |
license='MIT',
|
|
@@ -25,7 +25,7 @@ setup(
|
|
| 25 |
'livermask.utils',
|
| 26 |
'livermask.configs',
|
| 27 |
]
|
| 28 |
-
),
|
| 29 |
entry_points={
|
| 30 |
'console_scripts': [
|
| 31 |
'livermask = livermask.livermask:main',
|
|
|
|
| 10 |
|
| 11 |
setup(
|
| 12 |
name='livermask',
|
| 13 |
+
version='1.4.2',
|
| 14 |
author="André Pedersen and Javier Pérez de Frutos",
|
| 15 |
author_email="andrped94@gmail.com",
|
| 16 |
license='MIT',
|
|
|
|
| 25 |
'livermask.utils',
|
| 26 |
'livermask.configs',
|
| 27 |
]
|
| 28 |
+
),
|
| 29 |
entry_points={
|
| 30 |
'console_scripts': [
|
| 31 |
'livermask = livermask.livermask:main',
|