Spaces:
Runtime error

Numan Saeed commited on
Commit
a874986
·
1 Parent(s): d0dbc48

Upgrade to React + FastAPI (Docker-based)

Browse files

- Replace Gradio with modern React frontend
- Add FastAPI backend with proper API
- Docker-based deployment for HF Spaces
- Professional UI with NVIDIA-inspired theme
- DICOM file support with full preprocessing
- Better performance and UX

This view is limited to 50 files because it contains too many changes.   See raw diff
68 files changed +6199 -552
Files changed (50)
DockerfileAdded+66
README.md+63-9
app.pyDeleted-320
assets/FetalCLIP_config.json+15-15
assets/prompt_fetal_view.json+93-92
backend/app/__init__.pyAdded+2
backend/app/main.pyAdded+96
backend/app/routes/__init__.pyAdded+5
backend/app/routes/classification.pyAdded+89
backend/app/routes/gestational_age.pyAdded+41
backend/app/services/__init__.pyAdded+4
backend/app/services/model.pyAdded+267
backend/app/services/preprocessing.pyAdded+514
backend/requirements.txtAdded+22
examples/Fetal_abdomen_1.pngDeleted

Large File Pointer Details

  • SHA256: c0cd8944a9286a3ab0100bd7b0758702d0d708f2a6aad06d87d10ea4b1625d06
  • Pointer size: 131 Bytes
  • Size of remote file: 196 kB
examples/Fetal_abdomen_2.pngDeleted

Large File Pointer Details

  • SHA256: 0eae449d206ffd6aa57a041bf02696f49e39721e5588ddfbbabf76bece42cb43
  • Pointer size: 131 Bytes
  • Size of remote file: 276 kB
examples/Fetal_brain_1.pngDeleted

Large File Pointer Details

  • SHA256: d08ef4f4a460b1110388dd2d0ef6e1e107da366ff6d8f5084bafe13118d42248
  • Pointer size: 131 Bytes
  • Size of remote file: 183 kB
examples/Fetal_brain_2.pngDeleted

Large File Pointer Details

  • SHA256: 7da269eef8a7cf19878d0b159efe4d4e14133c9f4198ad625501b1bd576f12b8
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB
examples/Fetal_femur_1.pngDeleted

Large File Pointer Details

  • SHA256: f83639a118fc983649168adaf6eaafb422b1d8964642d542b63b40aa7047f2e0
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
examples/Fetal_femur_2.pngDeleted

Large File Pointer Details

  • SHA256: 5947bb4b2e773f6f9b49be76fc22bdb8b5854bbd87d5337d497dd1290cef8563
  • Pointer size: 131 Bytes
  • Size of remote file: 210 kB
examples/Fetal_orbit_1 copy.jpgDeleted

Large File Pointer Details

  • SHA256: d93e60a226e7514504b76fbf860c13b9f717028aafd92a7f853a6ca12030a1ab
  • Pointer size: 130 Bytes
  • Size of remote file: 41.6 kB
examples/Fetal_orbit_1.jpgDeleted

Large File Pointer Details

  • SHA256: d93e60a226e7514504b76fbf860c13b9f717028aafd92a7f853a6ca12030a1ab
  • Pointer size: 130 Bytes
  • Size of remote file: 41.6 kB
examples/Fetal_orbit_2.pngDeleted

Large File Pointer Details

  • SHA256: aa3d1f2d4869b33cd4d525ffe30d3fede422f6e23b4ed08499f3abb4440d1ea6
  • Pointer size: 131 Bytes
  • Size of remote file: 137 kB
examples/Fetal_profile_1 copy.jpgDeleted

Large File Pointer Details

  • SHA256: d5bffb090a9ca2161828b971af01bae0b3af883c84bd50ed755596d5f0c9517f
  • Pointer size: 130 Bytes
  • Size of remote file: 14.8 kB
examples/Fetal_profile_1.jpgDeleted

Large File Pointer Details

  • SHA256: d5bffb090a9ca2161828b971af01bae0b3af883c84bd50ed755596d5f0c9517f
  • Pointer size: 130 Bytes
  • Size of remote file: 14.8 kB
examples/Fetal_profile_2.pngDeleted

Large File Pointer Details

  • SHA256: b831b37fe4266008859fbfa3ead99b3b6f98c9cc2e2c5a92d6e5336c9291f165
  • Pointer size: 131 Bytes
  • Size of remote file: 932 kB
examples/Fetal_thorax_1.pngDeleted

Large File Pointer Details

  • SHA256: 65af18ce27e45c1d8a9f925f285bc2f9a54abae614d6577b868818217a5a3b25
  • Pointer size: 131 Bytes
  • Size of remote file: 224 kB
examples/Fetal_thorax_2.pngDeleted

Large File Pointer Details

  • SHA256: 7cb38f233cdc087296718ba896eee429a350743610f8993b32b0eef59fe3394c
  • Pointer size: 131 Bytes
  • Size of remote file: 173 kB
examples/Maternal_cervix_1.pngDeleted

Large File Pointer Details

  • SHA256: b5cf5a2ae1eb700afe3f0cf3d7c125a097ad0d1ea2b8e9d4c1ffc4434d6f6d33
  • Pointer size: 131 Bytes
  • Size of remote file: 208 kB
examples/Maternal_cervix_2.pngDeleted

Large File Pointer Details

  • SHA256: 7908342d714fdfbba61c0b2d48fbb7af19921de353568ac114efda82bdfbf536
  • Pointer size: 131 Bytes
  • Size of remote file: 187 kB
examples/ga_333_HC.pngDeleted

Large File Pointer Details

  • SHA256: 49bedf156880c50b798b111286df899eb3cc438d7c6c4e7c3383e0f5bd0fa35d
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB
examples/ga_351_HC.pngDeleted

Large File Pointer Details

  • SHA256: fc293a681cacbdc92439e8483b71dc2d93bbcb0910354b3f59836fff6c45c2dd
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
examples/ga_385_HC.pngDeleted

Large File Pointer Details

  • SHA256: fe3dc9f347ab7762acc333c8ac013bdec9753df8c2d69d81c69870fd2c677af2
  • Pointer size: 131 Bytes
  • Size of remote file: 112 kB
examples/ga_584_HC.pngDeleted

Large File Pointer Details

  • SHA256: 1079948afee5ca29bfee63a92e37d0f20e2733717181174d5c92e7aea8beb9e4
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
examples/ga_615_HC.pngDeleted

Large File Pointer Details

  • SHA256: 2017c0846a1358346b981a7c62ad9a2ff55b63227afdfa1fbef4ae6c2418046e
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
examples/ga_notes.txtDeleted-6
frontend/index.htmlAdded+17
frontend/package-lock.jsonAdded
The diff for this file is too large to render. See raw diff
frontend/package.jsonAdded+32
frontend/postcss.config.jsAdded+7
frontend/public/favicon.svgAdded
frontend/src/App.tsxAdded+69
frontend/src/components/Button.tsxAdded+46
frontend/src/components/FileUpload.tsxAdded+106
frontend/src/components/GAResultsCard.tsxAdded+83
frontend/src/components/Header.tsxAdded+50
frontend/src/components/ImageUpload.tsxAdded+77
frontend/src/components/NumberInput.tsxAdded+50
frontend/src/components/Panel.tsxAdded+20
frontend/src/components/PreprocessingBadge.tsxAdded+125