Update app.py
Browse files
app.py
CHANGED
|
@@ -790,7 +790,7 @@ def update_live_preview(image, bbox_x1, bbox_y1, bbox_x2, bbox_y2, mode):
|
|
| 790 |
|
| 791 |
|
| 792 |
def process_image_upload(image):
|
| 793 |
-
"""Verarbeitet Bild-Upload und gibt Bild + Koordinaten zurück"""
|
| 794 |
if image is None:
|
| 795 |
return None, None, None, None, None
|
| 796 |
|
|
|
|
| 790 |
|
| 791 |
|
| 792 |
def process_image_upload(image):
|
| 793 |
+
"""Verarbeitet Bild-Upload -wenn kein Bild hochgeladen wird None zurückgegeben-> kein Absturz! und gibt Bild + Koordinaten zurück"""
|
| 794 |
if image is None:
|
| 795 |
return None, None, None, None, None
|
| 796 |
|