sergioska commited on
Commit
85640e9
·
1 Parent(s): 98eca9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ with col3:
104
  imageForDetails,
105
  candidate_labels=['title', 'price']
106
  )
107
- drawForDetails = ImageDraw.Draw(imageForDetails)
108
  for predictionsForDetail in predictionsForDetails:
109
  box = predictionsForDetail["box"]
110
  label = predictionsForDetail["label"]
 
104
  imageForDetails,
105
  candidate_labels=['title', 'price']
106
  )
107
+ drawForDetails = ImageDraw.Draw(outputImageForDetails)
108
  for predictionsForDetail in predictionsForDetails:
109
  box = predictionsForDetail["box"]
110
  label = predictionsForDetail["label"]