andreped commited on
Commit
a631dce
1 Parent(s): bf989cd

Added test sample

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. neukit/gui.py +1 -1
Dockerfile CHANGED
@@ -63,6 +63,9 @@ COPY --chown=user . $HOME/app
63
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-MRI_Meningioma-ONNX-v12.zip" && \
64
  unzip "Raidionics-MRI_Meningioma-ONNX-v12.zip" && mkdir -p resources/models/ && mv MRI_Meningioma/ resources/models/MRI_Meningioma/
65
 
 
 
 
66
  # Download test sample
67
  RUN pip install gdown && gdown "https://drive.google.com/uc?id=1shjSrFjS4PHE5sTku30PZTLPZpGu24o3"
68
 
 
63
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-MRI_Meningioma-ONNX-v12.zip" && \
64
  unzip "Raidionics-MRI_Meningioma-ONNX-v12.zip" && mkdir -p resources/models/ && mv MRI_Meningioma/ resources/models/MRI_Meningioma/
65
 
66
+ # Download test sample
67
+ RUN wget "https://github.com/andreped/neukit/releases/download/test-data/RegLib_C01_2.nii.gz"
68
+
69
  # Download test sample
70
  RUN pip install gdown && gdown "https://drive.google.com/uc?id=1shjSrFjS4PHE5sTku30PZTLPZpGu24o3"
71
 
neukit/gui.py CHANGED
@@ -74,7 +74,7 @@ class WebUI:
74
 
75
  with gr.Row():
76
  gr.Examples(
77
- examples=[self.cwd + "test-volume.nii"],
78
  inputs=file_output,
79
  outputs=file_output,
80
  fn=self.upload_file,
 
74
 
75
  with gr.Row():
76
  gr.Examples(
77
+ examples=[self.cwd + "RegLib_C01_2.nii.gz"],
78
  inputs=file_output,
79
  outputs=file_output,
80
  fn=self.upload_file,