Spaces:
Build error
Build error
no message
Browse files
app.py
CHANGED
|
@@ -37,11 +37,18 @@ def classify_full_dataset(shosen_dataset_name, chosen_model_name):
|
|
| 37 |
SCROLLABLE_TEXT.image(image_object, caption="Uploaded Image", width=300)
|
| 38 |
|
| 39 |
image_object_texte_data = dataset['pasta'][i-1]
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
SCROLLABLE_TEXT.write(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
#classification
|
| 47 |
classification_result = classifier_pipeline(image_object)
|
|
|
|
| 37 |
SCROLLABLE_TEXT.image(image_object, caption="Uploaded Image", width=300)
|
| 38 |
|
| 39 |
image_object_texte_data = dataset['pasta'][i-1]
|
| 40 |
+
SCROLLABLE_TEXT.write(f"image_object_texte_data: {image_object_texte_data}")
|
| 41 |
|
| 42 |
+
|
| 43 |
+
teste1 = image_object._getexif()
|
| 44 |
+
SCROLLABLE_TEXT.write(f"teste1 (image_object._getexif()): {teste1}")
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
teste2 = image_object._getexif().items()
|
| 48 |
+
SCROLLABLE_TEXT.write(f"teste2 (image_object._getexif().items()): {teste2}")
|
| 49 |
+
|
| 50 |
+
#extract_metadata = { ExifTags.TAGS[k]: v for k, v in image_object._getexif().items() if k in ExifTags.TAGS }
|
| 51 |
+
#SCROLLABLE_TEXT.write(f"extract_metadata: {extract_metadata}")
|
| 52 |
|
| 53 |
#classification
|
| 54 |
classification_result = classifier_pipeline(image_object)
|