Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -357,6 +357,7 @@ def convert_heic_to_jpeg(heic_path):
|
|
357 |
|
358 |
def upload_image(image_path, upload_url):
|
359 |
# Check if the image is a HEIC file
|
|
|
360 |
if image_path.lower().endswith('.heic'):
|
361 |
# Convert HEIC to JPEG
|
362 |
data = convert_heic_to_jpeg(image_path)
|
|
|
357 |
|
358 |
def upload_image(image_path, upload_url):
|
359 |
# Check if the image is a HEIC file
|
360 |
+
print(image_path)
|
361 |
if image_path.lower().endswith('.heic'):
|
362 |
# Convert HEIC to JPEG
|
363 |
data = convert_heic_to_jpeg(image_path)
|