thlanza commited on
Commit
9d96326
·
1 Parent(s): 10f184e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -18,8 +18,10 @@ def load_answer(question):
18
  return pten_pipeline(question)[0]["generated_text"]
19
 
20
  #App UI starts here
21
- st.set_page_config(page_title="Tradução do Português para o Inglês. Digite uma frase em português para tradução.", page_icon=":robot:")
22
- st.header("Portuguese to English Traslation")
 
 
23
 
24
  #Gets the user input
25
  def get_text():
 
18
  return pten_pipeline(question)[0]["generated_text"]
19
 
20
  #App UI starts here
21
+ st.set_page_config(page_title="Tradução do Português para o Inglês.", page_icon=":robot:")
22
+ st.image("https://www.viajenaviagem.com/wp-content/uploads/2020/02/belo-horizonte-pampulha.jpg.webp", caption='Sunrise by the mountains')
23
+ st.header("Tradução do Português para o inglês.")
24
+ st.subheader("Digite uma frase em português para tradução. Para melhores resultados, coloque um ponto final na frase.")
25
 
26
  #Gets the user input
27
  def get_text():