Spaces:
Sleeping
Sleeping
aryrk
commited on
Commit
·
7d12d7e
1
Parent(s):
a0c04c5
[feat] check if file is uploaded
Browse files
app.py
CHANGED
|
@@ -30,6 +30,8 @@ def reflection_removal(input_images):
|
|
| 30 |
with open(input_image.name, "rb") as f:
|
| 31 |
image = Image.open(f)
|
| 32 |
image.save(file_path)
|
|
|
|
|
|
|
| 33 |
|
| 34 |
cmd = [
|
| 35 |
"python", "test.py",
|
|
|
|
| 30 |
with open(input_image.name, "rb") as f:
|
| 31 |
image = Image.open(f)
|
| 32 |
image.save(file_path)
|
| 33 |
+
|
| 34 |
+
print("Isi direktori uploaded_images:", os.listdir(UPLOAD_DIR))
|
| 35 |
|
| 36 |
cmd = [
|
| 37 |
"python", "test.py",
|