Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@
|
|
| 39 |
# image_files = [f for f in os.listdir(OUTPUT_DIR) if f.endswith(".png")]
|
| 40 |
# random_images = random.sample(image_files, min(10, len(image_files)))
|
| 41 |
# image_paths = [os.path.join(OUTPUT_DIR, img) for img in random_images]
|
| 42 |
-
# return
|
| 43 |
|
| 44 |
# === Send Image to Backend ===
|
| 45 |
def send_to_backend(img_path, user_id):
|
|
|
|
| 39 |
# image_files = [f for f in os.listdir(OUTPUT_DIR) if f.endswith(".png")]
|
| 40 |
# random_images = random.sample(image_files, min(10, len(image_files)))
|
| 41 |
# image_paths = [os.path.join(OUTPUT_DIR, img) for img in random_images]
|
| 42 |
+
# return image_pathsgg
|
| 43 |
|
| 44 |
# === Send Image to Backend ===
|
| 45 |
def send_to_backend(img_path, user_id):
|