Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def extract_text_from_image(image):
|
|
19 |
return f"Error occurred: {e}"
|
20 |
|
21 |
# Load example image from local directory (make sure the path is correct)
|
22 |
-
example_image_path = "
|
23 |
example_image = Image.open(example_image_path)
|
24 |
|
25 |
# Gradio Interface
|
|
|
19 |
return f"Error occurred: {e}"
|
20 |
|
21 |
# Load example image from local directory (make sure the path is correct)
|
22 |
+
example_image_path = "./sample.png" # Replace with the actual path
|
23 |
example_image = Image.open(example_image_path)
|
24 |
|
25 |
# Gradio Interface
|