indoflaven commited on
Commit
ac73cb7
·
1 Parent(s): ad7e92c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -92,6 +92,9 @@ def predict(item: Item):
92
  top_score = 0 # Default score if there are no near duplicates
93
 
94
  formatted_score = round(top_score * 100, 3) # Multiplies by 100 and rounds to three decimal places
 
 
 
95
  return ScoreResponse(score=formatted_score)
96
 
97
  #formatted_score = round(score * 100, 3) # Multiplies by 100 and rounds to three decimal places
 
92
  top_score = 0 # Default score if there are no near duplicates
93
 
94
  formatted_score = round(top_score * 100, 3) # Multiplies by 100 and rounds to three decimal places
95
+
96
+ print("Score: " + str(formatted_score))
97
+
98
  return ScoreResponse(score=formatted_score)
99
 
100
  #formatted_score = round(score * 100, 3) # Multiplies by 100 and rounds to three decimal places