tensorgirl commited on
Commit
f3c18da
·
verified ·
1 Parent(s): e881ffe

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -11,6 +11,7 @@ os.environ['HF_HOME'] = '/hug/cache/'
11
  os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
12
 
13
  app = FastAPI()
 
14
 
15
  class Item(BaseModel):
16
  code: str
 
11
  os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
12
 
13
  app = FastAPI()
14
+ app.recursion_limit = 10**4
15
 
16
  class Item(BaseModel):
17
  code: str