laudavid commited on
Commit
7b7d942
β€’
1 Parent(s): 2e0df59

fix page icons

Browse files
main_page.py CHANGED
@@ -71,7 +71,7 @@ show_pages(
71
  Page("pages/supervised_unsupervised_page.py", "Supervised vs Unsupervised", "πŸ”"),
72
  Page("pages/timeseries_analysis.py", "Time Series Forecasting", "πŸ“ˆ"),
73
  Page("pages/sentiment_analysis.py", "Sentiment Analysis", "πŸ‘"),
74
- Page("pages/object_detection.py", "Object Detection", "πŸ“Ή"), #need to reduce RAM costs
75
  Page("pages/recommendation_system.py", "Recommendation system", "πŸ›’")
76
  ]
77
  )
 
71
  Page("pages/supervised_unsupervised_page.py", "Supervised vs Unsupervised", "πŸ”"),
72
  Page("pages/timeseries_analysis.py", "Time Series Forecasting", "πŸ“ˆ"),
73
  Page("pages/sentiment_analysis.py", "Sentiment Analysis", "πŸ‘"),
74
+ Page("pages/object_detection.py", "Object Detection", "πŸ“Ή"),
75
  Page("pages/recommendation_system.py", "Recommendation system", "πŸ›’")
76
  ]
77
  )
pages/object_detection.py CHANGED
@@ -14,7 +14,7 @@ from torchvision.transforms import ToTensor, ToPILImage
14
  from annotated_text import annotated_text
15
 
16
 
17
- st.set_page_config(layout="wide")
18
 
19
  @st.cache_data(ttl=3600, show_spinner=False)
20
  def load_model(feature_extractor_url, model_url):
 
14
  from annotated_text import annotated_text
15
 
16
 
17
+ #st.set_page_config(layout="wide")
18
 
19
  @st.cache_data(ttl=3600, show_spinner=False)
20
  def load_model(feature_extractor_url, model_url):
pages/recommendation_system.py CHANGED
@@ -13,7 +13,7 @@ from utils import load_data_pickle, load_model_pickle, load_data_csv
13
 
14
 
15
 
16
- st.set_page_config(layout="wide")
17
 
18
 
19
 
 
13
 
14
 
15
 
16
+ #st.set_page_config(layout="wide")
17
 
18
 
19
 
pages/sentiment_analysis.py CHANGED
@@ -11,7 +11,7 @@ import plotly.express as px
11
  from pysentimiento import create_analyzer
12
  from utils import load_data_pickle
13
 
14
- st.set_page_config(layout="wide")
15
 
16
  def clean_text(text):
17
  pattern_punct = r"[^\w\s.',:/]"
 
11
  from pysentimiento import create_analyzer
12
  from utils import load_data_pickle
13
 
14
+ #st.set_page_config(layout="wide")
15
 
16
  def clean_text(text):
17
  pattern_punct = r"[^\w\s.',:/]"
pages/supervised_unsupervised_page.py CHANGED
@@ -12,7 +12,7 @@ from annotated_text import annotated_text
12
  # PAGE CONFIG
13
  #####################################################################################
14
 
15
- st.set_page_config(layout="wide")
16
 
17
 
18
 
@@ -49,7 +49,8 @@ with col2:
49
  - They are also used to identify unusual patterns or **outliers**.
50
  """, unsafe_allow_html=True)
51
  st.markdown(" ")
52
- st.image("images/unsupervised_learning.png", caption="An example of unsupervised Learning")
 
53
 
54
  st.markdown(" ")
55
 
 
12
  # PAGE CONFIG
13
  #####################################################################################
14
 
15
+ #st.set_page_config(layout="wide")
16
 
17
 
18
 
 
49
  - They are also used to identify unusual patterns or **outliers**.
50
  """, unsafe_allow_html=True)
51
  st.markdown(" ")
52
+ st.image("images/unsupervised_learning.png", caption="An example of unsupervised Learning",
53
+ use_column_width=True)
54
 
55
  st.markdown(" ")
56
 
pages/timeseries_analysis.py CHANGED
@@ -11,7 +11,7 @@ from utils import load_data_pickle
11
  from sklearn.metrics import root_mean_squared_error
12
 
13
 
14
- st.set_page_config(layout="wide")
15
 
16
  @st.cache_data(ttl=3600, show_spinner=False)
17
  def forecast_prophet(train, test, col=None):
 
11
  from sklearn.metrics import root_mean_squared_error
12
 
13
 
14
+ #st.set_page_config(layout="wide")
15
 
16
  @st.cache_data(ttl=3600, show_spinner=False)
17
  def forecast_prophet(train, test, col=None):