Adibvafa commited on
Commit
3ba600b
·
1 Parent(s): 36f77f2

Chagne default main to use GPT

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -145,7 +145,7 @@ if __name__ == "__main__":
145
  # "DicomProcessorTool", # For processing DICOM medical image files
146
  "TorchXRayVisionClassifierTool", # For classifying chest X-ray images using TorchXRayVision
147
  "ArcPlusClassifierTool", # For advanced chest X-ray classification using ArcPlus
148
- # "ChestXRaySegmentationTool", # For segmenting anatomical regions in chest X-rays
149
  "ChestXRayReportGeneratorTool", # For generating medical reports from X-rays
150
  "XRayVQATool", # For visual question answering on X-rays
151
  # "LlavaMedTool", # For multimodal medical image understanding
@@ -182,7 +182,7 @@ if __name__ == "__main__":
182
  model_dir="/model-weights",
183
  temp_dir="temp", # Change this to the path of the temporary directory
184
  device="cuda:0",
185
- model="gemini-2.5-pro", # Change this to the model you want to use, e.g. gpt-4.1-2025-04-14, gemini-2.5-pro
186
  temperature=0.7,
187
  top_p=0.95,
188
  model_kwargs=model_kwargs,
 
145
  # "DicomProcessorTool", # For processing DICOM medical image files
146
  "TorchXRayVisionClassifierTool", # For classifying chest X-ray images using TorchXRayVision
147
  "ArcPlusClassifierTool", # For advanced chest X-ray classification using ArcPlus
148
+ "ChestXRaySegmentationTool", # For segmenting anatomical regions in chest X-rays
149
  "ChestXRayReportGeneratorTool", # For generating medical reports from X-rays
150
  "XRayVQATool", # For visual question answering on X-rays
151
  # "LlavaMedTool", # For multimodal medical image understanding
 
182
  model_dir="/model-weights",
183
  temp_dir="temp", # Change this to the path of the temporary directory
184
  device="cuda:0",
185
+ model="gpt-4.1-2025-04-14", # Change this to the model you want to use, e.g. gpt-4.1-2025-04-14, gemini-2.5-pro
186
  temperature=0.7,
187
  top_p=0.95,
188
  model_kwargs=model_kwargs,