Spaces:
Build error
Build error
Update app.py
Browse files- .vscode/settings.json +3 -0
- app.py +1 -1
- requirements.txt +0 -1
.vscode/settings.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"python.pythonPath": "/opt/homebrew/Caskroom/miniforge/base/envs/hf_interview/bin/python"
|
3 |
+
}
|
app.py
CHANGED
@@ -20,7 +20,7 @@ examples = ['examples/BRATS_485.nii.gz']
|
|
20 |
|
21 |
model, _, _ = bundle.load(
|
22 |
name = BUNDLE_NAME,
|
23 |
-
source = '
|
24 |
repo = 'katielink/brats_mri_segmentation_v0.1.0',
|
25 |
load_ts_module=True,
|
26 |
)
|
|
|
20 |
|
21 |
model, _, _ = bundle.load(
|
22 |
name = BUNDLE_NAME,
|
23 |
+
source = 'huggingface_hub',
|
24 |
repo = 'katielink/brats_mri_segmentation_v0.1.0',
|
25 |
load_ts_module=True,
|
26 |
)
|
requirements.txt
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
git+https://github.com/katielink/MONAI.git@4042-download-hf-hub-bundle
|
2 |
-
huggingface_hub
|
3 |
nibabel
|
|
|
1 |
git+https://github.com/katielink/MONAI.git@4042-download-hf-hub-bundle
|
|
|
2 |
nibabel
|