KikoDM commited on
Commit
80b4637
·
1 Parent(s): 2b3c38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,8 +60,8 @@ def predict_image(pic):
60
  if preds[list_desc_order[1]] > 0.3:
61
  result2 = f'c{list_desc_order[1]}'
62
  result2_ = round(preds[list_desc_order[1]], 2)
63
- txt = f"category {directory} result 1 {result1} {round(preds[list_desc_order[0]],2)} | result2 {result2} {result2_}"
64
- txt = f"categoria {directory}"
65
 
66
  score = round(preds[list_desc_order[0]], 2)*100
67
  score = int(score)
 
60
  if preds[list_desc_order[1]] > 0.3:
61
  result2 = f'c{list_desc_order[1]}'
62
  result2_ = round(preds[list_desc_order[1]], 2)
63
+ #txt = f"category {directory} result 1 {result1} {round(preds[list_desc_order[0]],2)} | result2 {result2} {result2_}"
64
+ #txt = f"categoria {directory}"
65
 
66
  score = round(preds[list_desc_order[0]], 2)*100
67
  score = int(score)