-
-
Save amankharwal/dfeb9ee895ece4b609f4625450138c13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google_trans_new import google_translator | |
import streamlit as st | |
translator = google_translator() | |
st.title("Language Translator") | |
text = st.text_input("Enter a text") | |
translate = translator.translate(text, lang_tgt='fr') | |
st.write(translate) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment