Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ with col3:
|
|
| 104 |
imageForDetails,
|
| 105 |
candidate_labels=['title', 'price']
|
| 106 |
)
|
| 107 |
-
drawForDetails = ImageDraw.Draw(
|
| 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"]
|