Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 22 |
-
st.
|
|
|
|
|
|
|
| 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():
|