Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
|
@@ -91,6 +91,8 @@ Confidence: **{text_conf}%**
|
|
| 91 |
image_filename = f"img_{int(time.time()*1000)}.png"
|
| 92 |
image_path = os.path.abspath(f"saved_images/{image_filename}")
|
| 93 |
image.save(image_path)
|
|
|
|
|
|
|
| 94 |
|
| 95 |
image_result_display = "## 🖼 Image Classification\n\n"
|
| 96 |
|
|
|
|
| 91 |
image_filename = f"img_{int(time.time()*1000)}.png"
|
| 92 |
image_path = os.path.abspath(f"saved_images/{image_filename}")
|
| 93 |
image.save(image_path)
|
| 94 |
+
|
| 95 |
+
results = image_pipeline(image)
|
| 96 |
|
| 97 |
image_result_display = "## 🖼 Image Classification\n\n"
|
| 98 |
|