Spaces:
Runtime error
Runtime error
changed __selectpage__ format
Browse files
module/__custom__.py
CHANGED
@@ -239,7 +239,7 @@ def exec_page(emoji, theme, page_genres):
|
|
239 |
|
240 |
##### HOME PAGE #####
|
241 |
def exec_page_home(theme):
|
242 |
-
st_page_selectbox(theme)
|
243 |
|
244 |
# Header
|
245 |
st.header(f"👋 ForcaSteam")
|
|
|
239 |
|
240 |
##### HOME PAGE #####
|
241 |
def exec_page_home(theme):
|
242 |
+
# st_page_selectbox(theme)
|
243 |
|
244 |
# Header
|
245 |
st.header(f"👋 ForcaSteam")
|
module/__pycache__/__selectpage__.cpython-310.pyc
CHANGED
Binary files a/module/__pycache__/__selectpage__.cpython-310.pyc and b/module/__pycache__/__selectpage__.cpython-310.pyc differ
|
|
module/__selectpage__.py
CHANGED
@@ -2,18 +2,18 @@ import streamlit as st
|
|
2 |
from streamlit_extras.switch_page_button import switch_page
|
3 |
import os
|
4 |
|
5 |
-
pages = ["Overall"]
|
6 |
|
7 |
-
files = os.listdir('.\pages')
|
8 |
-
for name in files:
|
9 |
-
|
10 |
-
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
|
18 |
def st_page_selectbox(current_page):
|
19 |
current_index = pages.index(current_page)
|
|
|
2 |
from streamlit_extras.switch_page_button import switch_page
|
3 |
import os
|
4 |
|
5 |
+
# pages = ["Overall"]
|
6 |
|
7 |
+
# files = os.listdir('.\pages')
|
8 |
+
# for name in files:
|
9 |
+
# name = name.split()[1].replace('.py', '').replace('_', ' ')
|
10 |
+
# pages.append(name)
|
11 |
|
12 |
+
pages = [
|
13 |
+
"Overall",
|
14 |
+
"Category", "Genre", "DLC Counts", "Price", "Age Restriction",
|
15 |
+
"Settings", "OS", "Publisher", "Developer",
|
16 |
+
]
|
17 |
|
18 |
def st_page_selectbox(current_page):
|
19 |
current_index = pages.index(current_page)
|