fokan commited on
Commit
8081710
·
verified ·
1 Parent(s): d60ae18

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +1 -1
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: "🧠"
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: "4.42.0"
8
  app_file: app.py
9
  pinned: false
10
  ---
@@ -25,7 +25,7 @@ Zero-shot image classification for medical imagery powered by **google/medsiglip
25
  - Smart Modality Router v2 blends filename heuristics, simple color statistics, and a lightweight fallback classifier to choose the best label bank.
26
  - CT, Ultrasound, Musculoskeletal, chest X-ray, brain MRI, fundus, histopathology, skin, cardiovascular, and general label libraries curated from MedSigLIP prompts and clinical references.
27
  - CPU-optimized inference with single model load, float32 execution on CPU, capped torch threads, cached results, and batched label scoring.
28
- - Gradio interface ready for local execution or deployment to Hugging Face Spaces.
29
 
30
 
31
  ## Project Structure
 
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: "4.44.1"
8
  app_file: app.py
9
  pinned: false
10
  ---
 
25
  - Smart Modality Router v2 blends filename heuristics, simple color statistics, and a lightweight fallback classifier to choose the best label bank.
26
  - CT, Ultrasound, Musculoskeletal, chest X-ray, brain MRI, fundus, histopathology, skin, cardiovascular, and general label libraries curated from MedSigLIP prompts and clinical references.
27
  - CPU-optimized inference with single model load, float32 execution on CPU, capped torch threads, cached results, and batched label scoring.
28
+ - Gradio interface ready for local execution or deployment to Hugging Face Spaces (verified on Gradio 4.44.1+).
29
 
30
 
31
  ## Project Structure
app.py CHANGED
@@ -85,4 +85,4 @@ demo = gr.Interface(
85
 
86
 
87
  if __name__ == "__main__":
88
- demo.launch(server_name="0.0.0.0", server_port=7860, show_api=False)
 
85
 
86
 
87
  if __name__ == "__main__":
88
+ demo.launch()
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  torch
2
  transformers>=4.44.0
3
- gradio>=4.42.0
4
  huggingface_hub>=0.24.0
5
  sentencepiece
6
  Pillow
 
1
  torch
2
  transformers>=4.44.0
3
+ gradio>=4.44.1
4
  huggingface_hub>=0.24.0
5
  sentencepiece
6
  Pillow