Spaces:
Running
Running
akhil-vaidya
commited on
Commit
•
2061428
1
Parent(s):
5607113
updt: title, header
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def highlight_text(text, search_term):
|
|
82 |
pattern = re.compile(re.escape(search_term), re.IGNORECASE)
|
83 |
return pattern.sub(lambda m: f'<span style="background-color: yellow;">{m.group()}</span>', text)
|
84 |
|
85 |
-
st.title("Image
|
86 |
st.write("Upload an image for OCR")
|
87 |
|
88 |
MODEL, PROCESSOR = init_model()
|
|
|
82 |
pattern = re.compile(re.escape(search_term), re.IGNORECASE)
|
83 |
return pattern.sub(lambda m: f'<span style="background-color: yellow;">{m.group()}</span>', text)
|
84 |
|
85 |
+
st.title("Image Text OCR - GOT)")
|
86 |
st.write("Upload an image for OCR")
|
87 |
|
88 |
MODEL, PROCESSOR = init_model()
|