Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ language_options = fetch_languages(url)
|
|
| 23 |
|
| 24 |
# Streamlit UI components
|
| 25 |
st.title("📜 Translator")
|
| 26 |
-
st.write("We use model from [Language Technology Research Group at the University of Helsinki](https://huggingface.co/Helsinki-NLP). For API use please visit [this space](https://huggingface.co/spaces/Lenylvt/Translator-API)
|
| 27 |
|
| 28 |
source_language = st.selectbox("1️⃣ Select Source Language", options=language_options, format_func=lambda x: x[1])
|
| 29 |
target_language = st.selectbox("2️⃣ Select Target Language", options=language_options, format_func=lambda x: x[1])
|
|
|
|
| 23 |
|
| 24 |
# Streamlit UI components
|
| 25 |
st.title("📜 Translator")
|
| 26 |
+
st.write("We use model from [Language Technology Research Group at the University of Helsinki](https://huggingface.co/Helsinki-NLP). For API use please visit [this space](https://huggingface.co/spaces/Lenylvt/Translator-API). 🔴 All Language are not Available")
|
| 27 |
|
| 28 |
source_language = st.selectbox("1️⃣ Select Source Language", options=language_options, format_func=lambda x: x[1])
|
| 29 |
target_language = st.selectbox("2️⃣ Select Target Language", options=language_options, format_func=lambda x: x[1])
|