Spaces:
Runtime error
Runtime error
zy7_oldserver commited on
Commit ·
443f199
1
Parent(s): 9b01cdb
- .huggingface.yml +2 -0
- README.md +1 -9
- app.py +0 -8
- environment_torch2.yaml +1 -1
- seg2med_app/ui/model_card.py +2 -2
.huggingface.yml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
sdk: streamlit
|
| 2 |
+
app_file: tutorial8_app.py
|
README.md
CHANGED
|
@@ -1,9 +1 @@
|
|
| 1 |
-
|
| 2 |
-
title: Frankenstein Organ Builder
|
| 3 |
-
emoji: 🧠
|
| 4 |
-
colorFrom: gray
|
| 5 |
-
colorTo: blue
|
| 6 |
-
sdk: streamlit
|
| 7 |
-
app_file: app.py
|
| 8 |
-
pinned: false
|
| 9 |
-
---
|
|
|
|
| 1 |
+
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
# app.py
|
| 2 |
-
|
| 3 |
-
import streamlit.web.cli as stcli
|
| 4 |
-
import sys
|
| 5 |
-
|
| 6 |
-
if __name__ == "__main__":
|
| 7 |
-
sys.argv = ["streamlit", "run", "tutorial8_app.py"]
|
| 8 |
-
sys.exit(stcli.main())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
environment_torch2.yaml
CHANGED
|
@@ -23,7 +23,7 @@ dependencies:
|
|
| 23 |
- pynrrd
|
| 24 |
- torchmetrics
|
| 25 |
- pyyaml
|
| 26 |
-
- streamlit
|
| 27 |
# pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu118
|
| 28 |
# conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
| 29 |
# conda install nvidia/label/cuda-12.4.0::cuda-toolkit
|
|
|
|
| 23 |
- pynrrd
|
| 24 |
- torchmetrics
|
| 25 |
- pyyaml
|
| 26 |
+
- streamlit
|
| 27 |
# pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu118
|
| 28 |
# conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
| 29 |
# conda install nvidia/label/cuda-12.4.0::cuda-toolkit
|
seg2med_app/ui/model_card.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
default_model = '
|
| 2 |
-
model_options = [default_model, "mse", '
|
|
|
|
| 1 |
+
default_model = 'ntxent16' #_model_100.pt
|
| 2 |
+
model_options = [default_model, "mse", 'ntxent4']
|