th0mascat commited on
Commit
ccd9046
·
verified ·
1 Parent(s): 8137b0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -22,6 +22,9 @@ configs = BaseModelConfigs.load("./configs.yaml")
22
 
23
  beam_settings = TTSettings(num_beams=5, min_length=1, max_length=100)
24
 
 
 
 
25
  app = FastAPI()
26
 
27
  origins = ["*"]
 
22
 
23
  beam_settings = TTSettings(num_beams=5, min_length=1, max_length=100)
24
 
25
+ import os
26
+ os.environ['TRANSFORMERS_CACHE'] = './cache/'
27
+
28
  app = FastAPI()
29
 
30
  origins = ["*"]