YongchengYAO commited on
Commit
6db41af
·
1 Parent(s): e971f50

minor: print env var when loading

Browse files
Files changed (1) hide show
  1. MedVision.py +3 -0
MedVision.py CHANGED
@@ -8633,6 +8633,9 @@ class MedVision(GeneratorBasedBuilder):
8633
  downloaded_datasets = {}
8634
 
8635
  # Check if we should force downloads based on environment variables
 
 
 
8636
  force_download_data = (
8637
  os.environ.get("MedVision_FORCE_DOWNLOAD_DATA", "False").lower()
8638
  == "true"
 
8633
  downloaded_datasets = {}
8634
 
8635
  # Check if we should force downloads based on environment variables
8636
+ print("\n[Info] Checking environment variables for download options...")
8637
+ print(" - MedVision_FORCE_DOWNLOAD_DATA:", os.environ.get("MedVision_FORCE_DOWNLOAD_DATA", "False"))
8638
+ print(" - MedVision_FORCE_INSTALL_CODE:", os.environ.get("MedVision_FORCE_INSTALL_CODE", "False"))
8639
  force_download_data = (
8640
  os.environ.get("MedVision_FORCE_DOWNLOAD_DATA", "False").lower()
8641
  == "true"