Spaces:
Runtime error
Runtime error
tensorgirl
commited on
Update main.py
Browse files
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
|