Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,7 +242,7 @@ def process_image(image, quantity, mode):
|
|
| 242 |
return "No attributes found in the image.", None
|
| 243 |
|
| 244 |
numbered_output = "\n".join(
|
| 245 |
-
[f"{key.replace('__c',
|
| 246 |
)
|
| 247 |
|
| 248 |
file_path = save_to_excel(attributes)
|
|
|
|
| 242 |
return "No attributes found in the image.", None
|
| 243 |
|
| 244 |
numbered_output = "\n".join(
|
| 245 |
+
[f"{key.replace('__c','')}: {value}" for key, value in attributes.items()]
|
| 246 |
)
|
| 247 |
|
| 248 |
file_path = save_to_excel(attributes)
|