Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,17 +4,8 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
|
4 |
|
5 |
from st_pages import Page, show_pages, add_page_title
|
6 |
|
7 |
-
|
8 |
-
# Optional -- adds the title and icon to the current page
|
9 |
add_page_title()
|
10 |
|
11 |
-
# Specify what pages should be shown in the sidebar, and what their titles
|
12 |
-
# and icons should be
|
13 |
-
|
14 |
-
|
15 |
-
with st.sidebar:
|
16 |
-
st.success("Escolha sua opção:")
|
17 |
-
|
18 |
show_pages(
|
19 |
[
|
20 |
Page("app.py", "Home", "🏠"),
|
@@ -23,7 +14,8 @@ show_pages(
|
|
23 |
]
|
24 |
)
|
25 |
|
26 |
-
|
|
|
27 |
|
28 |
|
29 |
#App UI starts here
|
|
|
4 |
|
5 |
from st_pages import Page, show_pages, add_page_title
|
6 |
|
|
|
|
|
7 |
add_page_title()
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
show_pages(
|
10 |
[
|
11 |
Page("app.py", "Home", "🏠"),
|
|
|
14 |
]
|
15 |
)
|
16 |
|
17 |
+
with st.sidebar:
|
18 |
+
st.success("Escolha sua opção:")
|
19 |
|
20 |
|
21 |
#App UI starts here
|