Skip to content

Commit

Permalink
Use CDN link for static assets
Browse files Browse the repository at this point in the history
  • Loading branch information
DanilRostov committed Nov 27, 2024
1 parent e3eced7 commit fb1dee3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
*/

const config = {
// special demo dialog file locations

demoUrls: [
'https://daentjnvnffrh.cloudfront.net/demo/01_lungs/20101108.ktx',
'https://daentjnvnffrh.cloudfront.net/demo/02_brain_set/brain256.ktx',
'https://daentjnvnffrh.cloudfront.net/demo/03_grandmother_gm3/gm3_512_512_165.nii',
'https://daentjnvnffrh.cloudfront.net/demo/04_woman_pelvis/file_list.txt',
'https://daentjnvnffrh.cloudfront.net/demo/05_lungs_00cba/file_list.txt',
'https://daentjnvnffrh.cloudfront.net/demo/06_ct_256/ct_256_256_256.ktx',
'https://daentjnvnffrh.cloudfront.net/demo/07_lungs_256/lungs_256_256_256.ktx',
'https://daentjnvnffrh.cloudfront.net/demo/08_brain_with_roi/set_intn.hdr',
'https://cdn.mri-viewer.opensource.epam.com/demo/01_lungs/20101108.ktx',
'https://cdn.mri-viewer.opensource.epam.com/demo/02_brain_set/brain256.ktx',
'https://cdn.mri-viewer.opensource.epam.com/demo/03_grandmother_gm3/gm3_512_512_165.nii',
'https://cdn.mri-viewer.opensource.epam.com/demo/04_woman_pelvis/file_list.txt',
'https://cdn.mri-viewer.opensource.epam.com/demo/05_lungs_00cba/file_list.txt',
'https://cdn.mri-viewer.opensource.epam.com/demo/06_ct_256/ct_256_256_256.ktx',
'https://cdn.mri-viewer.opensource.epam.com/demo/07_lungs_256/lungs_256_256_256.ktx',
'https://cdn.mri-viewer.opensource.epam.com/demo/08_brain_with_roi/set_intn.hdr',
],

googleCloudDemoActivce: false,
Expand Down
2 changes: 1 addition & 1 deletion src/engine/Segm2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import * as tf from '@tensorflow/tfjs';
import StoreActionType from '../store/ActionTypes';

const BRAIN_MODEl = 'https://daentjnvnffrh.cloudfront.net/models/brain/model.json';
const BRAIN_MODEl = 'https://cdn.mri-viewer.opensource.epam.com/models/brain/model.json';

// ********************************************************
// Const
Expand Down

0 comments on commit fb1dee3

Please sign in to comment.