dabbu2000 commited on
Commit
c9eea1f
·
1 Parent(s): c3adb0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -84,8 +84,6 @@ def germanShepherdEvaluation():
84
 
85
  germanShepherdNumberTotal = germanShepherdCategory['Total Number of German Shepherds']
86
 
87
- CAT = Catalogue(germanShepherdCategory)
88
-
89
  if germanShepherdBeginSearch or germanShepherdRandomSearch:
90
  if germanShepherdRandomSearch:
91
 
@@ -94,10 +92,6 @@ def germanShepherdEvaluation():
94
  while (germanShepherdRandomIndex < germanShepherdMinimalIndex) or (germanShepherdRandomIndex > germanShepherdMaximumIndex):
95
  germanShepherdRandomIndex = int(np.random.lognormal(12., 3.))
96
 
97
- CAT.similarity_search(germanShepherdClosest=germanShepherdQuantitySimilarElements+1,
98
- germanShepherdSimilarityMetric=similarity_inv,
99
- germanShepherdModelVersion=model_version)
100
-
101
  germanShepherdLinks = urls_from_coordinates(germanShepherdSimilarityValue, germanShepherdPixelValue=germanShepherdEvaluatePixel)
102
  germanShepherdSimilarityValue['Link to German Shepherd'] = np.array(germanShepherdLink)
103
  germanShepherdNumberColumns = min(11, int(math.ceil(np.sqrt(germanshepherdNumNearest))))
 
84
 
85
  germanShepherdNumberTotal = germanShepherdCategory['Total Number of German Shepherds']
86
 
 
 
87
  if germanShepherdBeginSearch or germanShepherdRandomSearch:
88
  if germanShepherdRandomSearch:
89
 
 
92
  while (germanShepherdRandomIndex < germanShepherdMinimalIndex) or (germanShepherdRandomIndex > germanShepherdMaximumIndex):
93
  germanShepherdRandomIndex = int(np.random.lognormal(12., 3.))
94
 
 
 
 
 
95
  germanShepherdLinks = urls_from_coordinates(germanShepherdSimilarityValue, germanShepherdPixelValue=germanShepherdEvaluatePixel)
96
  germanShepherdSimilarityValue['Link to German Shepherd'] = np.array(germanShepherdLink)
97
  germanShepherdNumberColumns = min(11, int(math.ceil(np.sqrt(germanshepherdNumNearest))))