Update pages/bot.py
Browse files- pages/bot.py +1 -1
pages/bot.py
CHANGED
@@ -41,7 +41,7 @@ def get_pdf_text(folder_path):
|
|
41 |
text=text.replace("\n", " ")
|
42 |
text=text.replace("- ", "")
|
43 |
st.text(text)
|
44 |
-
text=translator(text)
|
45 |
st.text(text)
|
46 |
return text
|
47 |
|
|
|
41 |
text=text.replace("\n", " ")
|
42 |
text=text.replace("- ", "")
|
43 |
st.text(text)
|
44 |
+
text=translator(""+text)
|
45 |
st.text(text)
|
46 |
return text
|
47 |
|