petermutwiri commited on
Commit
f632a6f
Β·
1 Parent(s): 5a6ed92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -5,8 +5,16 @@ from scipy.special import softmax
5
 
6
 
7
  # Create a sidebar for navigation
8
- st.sidebar.title("Navigation")
9
- st.sidebar.markdown("πŸ‘‰ **Choose an option from the sidebar**")
 
 
 
 
 
 
 
 
10
  page = st.sidebar.radio("Go to", ["Home"])
11
 
12
  # Load the TinyBERT model and tokenizer
 
5
 
6
 
7
  # Create a sidebar for navigation
8
+ st.sidebar.title("Navigation and review examples")
9
+
10
+ # Add an example for a positive movie review
11
+ st.sidebar.markdown("πŸ‘ **Positive Review Example:**")
12
+ st.sidebar.markdown("> I absolutely loved this movie! It was so thrilling and captivating. The acting was superb, and the plot was fantastic.")
13
+
14
+ # Add an example for a negative movie review
15
+ st.sidebar.markdown("πŸ‘Ž **Negative Review Example:**")
16
+ st.sidebar.markdown("> This movie was a complete disappointment. The story was boring, and the acting was terrible. I wouldn't recommend it to anyone.")
17
+
18
  page = st.sidebar.radio("Go to", ["Home"])
19
 
20
  # Load the TinyBERT model and tokenizer