giveaccesstoall commited on
Commit
660012b
·
verified ·
1 Parent(s): ff76d4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  from fastapi import FastAPI
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from pydantic import BaseModel
 
1
+ import os
2
+ os.environ["HF_HOME"] = "/tmp/huggingface"
3
+
4
  from fastapi import FastAPI
5
  from fastapi.middleware.cors import CORSMiddleware
6
  from pydantic import BaseModel