mat27 commited on
Commit
5e412ed
·
1 Parent(s): a0af349

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  from fastapi import FastAPI
2
  from transformers import pipeline
 
 
3
 
4
  # Create a new FastAPI app instance
5
  app = FastAPI()
 
1
  from fastapi import FastAPI
2
  from transformers import pipeline
3
+ import os
4
+ os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
5
 
6
  # Create a new FastAPI app instance
7
  app = FastAPI()