abdullahmubeen10 commited on
Commit
5daa613
·
verified ·
1 Parent(s): 1bf1397

Update Demo.py

Browse files
Files changed (1) hide show
  1. Demo.py +2 -2
Demo.py CHANGED
@@ -94,7 +94,7 @@ custom_input = st.text_input("Try it with your own Sentence!")
94
 
95
  text_to_analyze = custom_input if custom_input else selected_text
96
 
97
- st.write('Full example text')
98
  st.write(text_to_analyze)
99
 
100
  # Initialize Spark and create pipeline
@@ -103,7 +103,7 @@ pipeline = create_pipeline()
103
  output = fit_data(pipeline, text_to_analyze)
104
 
105
  # Display matched sentence
106
- st.write("Processed output:")
107
 
108
  results = {
109
  'Token': [t.result for t in output[0]['token']],
 
94
 
95
  text_to_analyze = custom_input if custom_input else selected_text
96
 
97
+ st.markdown('**Full example text**')
98
  st.write(text_to_analyze)
99
 
100
  # Initialize Spark and create pipeline
 
103
  output = fit_data(pipeline, text_to_analyze)
104
 
105
  # Display matched sentence
106
+ st.markdown("**Processed output:**")
107
 
108
  results = {
109
  'Token': [t.result for t in output[0]['token']],