Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,12 @@ def translate_to_nynorsk(model, tokenizer, text):
|
|
17 |
|
18 |
st.title("Translate To Nynorsk")
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
text = st.text_input(f"Bokmål text: ")
|
22 |
|
|
|
17 |
|
18 |
st.title("Translate To Nynorsk")
|
19 |
|
20 |
+
expander = st.sidebar.expander("About")
|
21 |
+
expander.write("This web app allows you to translate a text in Norwegian Bokmål to Norwegian Nynorsk.")
|
22 |
+
|
23 |
+
st.sidebar.header("Use these examples, or write your own text.")
|
24 |
+
option = st.sidebar.radio("", ["Text summarization", "Dette er et eksempel.", "Dette er en test."])
|
25 |
+
|
26 |
|
27 |
text = st.text_input(f"Bokmål text: ")
|
28 |
|