Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def generate_and_delete_word_image(word):
|
|
| 14 |
Returns:
|
| 15 |
The image data for displaying.
|
| 16 |
"""
|
| 17 |
-
|
| 18 |
dataset_path = "dataset/" # Adjust for your dataset path
|
| 19 |
# sample = "C:\DYPIU\___________________CODE___________________\Random Word Genrator\dataset\samples.jpg"
|
| 20 |
resized_images = []
|
|
|
|
| 14 |
Returns:
|
| 15 |
The image data for displaying.
|
| 16 |
"""
|
| 17 |
+
word = word.upper()
|
| 18 |
dataset_path = "dataset/" # Adjust for your dataset path
|
| 19 |
# sample = "C:\DYPIU\___________________CODE___________________\Random Word Genrator\dataset\samples.jpg"
|
| 20 |
resized_images = []
|