kusumakar commited on
Commit
57e49c3
1 Parent(s): 15511a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def image_text(image):
38
  detected_text = " ".join([item[1] for item in text])
39
 
40
  # Extract individual words, convert to lowercase, and add "#" symbol
41
- detected_text= ['#' + entry[1].strip().lower().replace(" ", "_") for entry in text]
42
  return detected_text
43
 
44
  # Load NLTK stopwords for filtering
 
38
  detected_text = " ".join([item[1] for item in text])
39
 
40
  # Extract individual words, convert to lowercase, and add "#" symbol
41
+ detected_text= ['#' + entry[1].strip().lower().replace(" ", "") for entry in text]
42
  return detected_text
43
 
44
  # Load NLTK stopwords for filtering