Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,9 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
| 33 |
use_fast=False
|
| 34 |
)
|
| 35 |
|
|
|
|
|
|
|
|
|
|
| 36 |
def preprocessing(image):
|
| 37 |
"""Apply three enhancement filters, including brightness reduction, and resize."""
|
| 38 |
image = Image.fromarray(np.array(image))
|
|
|
|
| 33 |
use_fast=False
|
| 34 |
)
|
| 35 |
|
| 36 |
+
for i in os.listdir():
|
| 37 |
+
print(i,"----------------------")
|
| 38 |
+
|
| 39 |
def preprocessing(image):
|
| 40 |
"""Apply three enhancement filters, including brightness reduction, and resize."""
|
| 41 |
image = Image.fromarray(np.array(image))
|