bjorn-hommel commited on
Commit
8dfe29e
1 Parent(s): 0db62ba

vanity update

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +3 -1
  2. app.py +19 -6
.streamlit/config.toml CHANGED
@@ -3,4 +3,6 @@ primaryColor="#4361ee"
3
  backgroundColor="#FFFFFF"
4
  secondaryBackgroundColor="#F0F2F6"
5
  textColor="#262730"
6
- font="sans serif"
 
 
 
3
  backgroundColor="#FFFFFF"
4
  secondaryBackgroundColor="#F0F2F6"
5
  textColor="#262730"
6
+ font="sans serif"
7
+ [server]
8
+ enableStaticServing = true
app.py CHANGED
@@ -150,8 +150,8 @@ def show_launch(placeholder):
150
  ### Disclaimer
151
  This application is provided as-is, without any warranty or guarantee of any kind, expressed or implied. It is intended for educational, non-commercial use only.
152
  The developers of this app shall not be held liable for any damages or losses incurred from its use. By using this application, you agree to the terms and conditions
153
- outlined herein and acknowledge that any commercial use or reliance on its functionality is strictly prohibited.
154
- """)
155
 
156
  collect_data_value = False
157
  if st.session_state.db:
@@ -294,13 +294,26 @@ def show_data(placeholder):
294
  st.plotly_chart(plot, theme=None, use_container_width=True)
295
 
296
  def main():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
  st.markdown("""
298
- # Machine-Based Item Desirability Ratings
299
- This web application demonstrates how item desirability ratings can be obtained with natural language processing ("AI"), and accompanying the paper "*Expanding the Methodological Toolbox: Machine-Based Item Desirability Ratings as an Alternative to Human-Based Ratings*".
300
 
301
- *Hommel, B. E. (2023). Expanding the methodological toolbox: Machine-based item desirability ratings as an alternative to human-based ratings. Personality and Individual Differences, 213, 112307. https://doi.org/10.1016/j.paid.2023.112307*
302
 
303
- <small>https://www.magnolia-psychometrics.com/</small>
304
  """, unsafe_allow_html=True)
305
 
306
  placeholder_launch = st.empty()
 
150
  ### Disclaimer
151
  This application is provided as-is, without any warranty or guarantee of any kind, expressed or implied. It is intended for educational, non-commercial use only.
152
  The developers of this app shall not be held liable for any damages or losses incurred from its use. By using this application, you agree to the terms and conditions
153
+ outlined herein and acknowledge that any commercial use or reliance on its functionality is strictly prohibited.
154
+ """, unsafe_allow_html=True)
155
 
156
  collect_data_value = False
157
  if st.session_state.db:
 
294
  st.plotly_chart(plot, theme=None, use_container_width=True)
295
 
296
  def main():
297
+ st.set_page_config(page_title='Machine-Based Item Desirability Ratings')
298
+
299
+
300
+ # Define the logo and its link
301
+ logo_url = "logo-130x130.svg"
302
+ logo_link = "https://example.com/"
303
+
304
+ col1, col2 = st.columns([2, 5])
305
+ with col1:
306
+ st.image('logo-130x130.svg')
307
+
308
+ with col2:
309
+ st.markdown("# Machine-Based Item Desirability Ratings")
310
+
311
  st.markdown("""
312
+ This web application showcases the process of obtaining item desirability ratings using natural language processing (AI), accompanying the paper *"Expanding the Methodological Toolbox: Machine-Based Item Desirability Ratings as an Alternative to Human-Based Ratings"*.
 
313
 
314
+ *Hommel, B. E. (2023). Expanding the methodological toolbox: Machine-based item desirability ratings as an alternative to human-based ratings. Personality and Individual Differences, 213, 112307. https://doi.org/10.1016/j.paid.2023.112307*
315
 
316
+ The web application is maintained by [magnolia psychometrics](https://www.magnolia-psychometrics.com/).
317
  """, unsafe_allow_html=True)
318
 
319
  placeholder_launch = st.empty()