oflakne26 commited on
Commit
83be1bc
·
verified ·
1 Parent(s): b49a2fc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -6,6 +6,8 @@ from huggingface_hub import InferenceClient
6
  import random
7
  from json_repair import repair_json
8
  import nltk
 
 
9
 
10
  app = FastAPI()
11
 
 
6
  import random
7
  from json_repair import repair_json
8
  import nltk
9
+ import sys
10
+ sys.setrecursionlimit(10000) # Set a higher recursion limit
11
 
12
  app = FastAPI()
13