Sahar7888 commited on
Commit
2cd8ad7
·
verified ·
1 Parent(s): a6be34e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "/content/sample.png" # Replace with the actual 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