hacpdsae2023 commited on
Commit
7d118a7
·
1 Parent(s): 8f37445

Test text color

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ st.markdown('We are using a sample fo the [TinyStories](roneneldan/TinyStories)
14
  text_text = dataset['train'][10]['text']
15
  st.write(text_text)
16
  st.markdown(':red[' + text_text + ']' )
17
- st.markdown("The next word is <span style='color:red'>red</span>",unsafe_allow_html=True)
18
 
19
  st.markdown('The threshold changes the level of connectivity in the network. The reange is from 0 (less similar) to 1 (completely similar)')
20
  threshhold = st.slider('Threshhold',0.0,1.0,step=0.1)
 
14
  text_text = dataset['train'][10]['text']
15
  st.write(text_text)
16
  st.markdown(':red[' + text_text + ']' )
17
+ st.markdown("The next word is <span style='color:red'>" + text_text + "</span>",unsafe_allow_html=True)
18
 
19
  st.markdown('The threshold changes the level of connectivity in the network. The reange is from 0 (less similar) to 1 (completely similar)')
20
  threshhold = st.slider('Threshhold',0.0,1.0,step=0.1)