vtdung23 commited on
Commit
d0244e1
·
verified ·
1 Parent(s): cacc855

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/services/ml_service.py +2 -2
app/services/ml_service.py CHANGED
@@ -7,8 +7,8 @@ from typing import List, Dict, Any, Optional
7
  from huggingface_hub import hf_hub_download
8
 
9
  # Only set HF cache for local development
10
- if not os.getenv("RENDER") and not os.getenv("SPACE_ID"):
11
- os.environ['HF_HOME'] = 'G:/huggingface_cache'
12
 
13
  class MLPredictionService:
14
  """
 
7
  from huggingface_hub import hf_hub_download
8
 
9
  # Only set HF cache for local development
10
+ # if not os.getenv("RENDER") and not os.getenv("SPACE_ID"):
11
+ # os.environ['HF_HOME'] = 'G:/huggingface_cache'
12
 
13
  class MLPredictionService:
14
  """