taesiri commited on
Commit
c4a8d1c
1 Parent(s): af29a4d

fix limit size

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import pickle
2
  from collections import Counter
3
  import numpy as np
@@ -9,6 +11,8 @@ from torchvision.datasets import ImageFolder
9
  from SimSearch import FaissCosineNeighbors, SearchableTrainingSet
10
  from ExtractEmbedding import QueryToEmbedding
11
 
 
 
12
  concat = lambda x: np.concatenate(x, axis=0)
13
 
14
  gdown.download(id="116CiA_cXciGSl72tbAUDoN-f1B9Frp89")
 
1
+ import csv
2
+ import sys
3
  import pickle
4
  from collections import Counter
5
  import numpy as np
 
11
  from SimSearch import FaissCosineNeighbors, SearchableTrainingSet
12
  from ExtractEmbedding import QueryToEmbedding
13
 
14
+ csv.field_size_limit(sys.maxsize)
15
+
16
  concat = lambda x: np.concatenate(x, axis=0)
17
 
18
  gdown.download(id="116CiA_cXciGSl72tbAUDoN-f1B9Frp89")