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

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -6,8 +6,8 @@ import os
6
 
7
  # OPTIONAL: Set HuggingFace cache directory (only for local dev)
8
  # Comment this out for production to use default cache
9
- if not os.getenv("RENDER"): # Only for local development
10
- os.environ['HF_HOME'] = 'G:/huggingface_cache'
11
 
12
  from fastapi import FastAPI
13
  from fastapi.staticfiles import StaticFiles
 
6
 
7
  # OPTIONAL: Set HuggingFace cache directory (only for local dev)
8
  # Comment this out for production to use default cache
9
+ # if not os.getenv("RENDER"): # Only for local development
10
+ # os.environ['HF_HOME'] = 'G:/huggingface_cache'
11
 
12
  from fastapi import FastAPI
13
  from fastapi.staticfiles import StaticFiles