taka-yamakoshi commited on
Commit
bdd1d60
1 Parent(s): 9baefdc
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import numpy as np
2
- #import pandas as pd
3
- #import time
4
  import streamlit as st
5
  #import matplotlib.pyplot as plt
6
  #import seaborn as sns
@@ -175,8 +174,8 @@ if __name__=='__main__':
175
 
176
  if st.session_state['page_status']=='type_in':
177
  show_instruction('1. Type in the sentences and click "Tokenize"')
178
- sent_1 = st.text_input('Sentence 1',value='It is better to play a prank on Samuel than Craig because he gets angry less often.')
179
- sent_2 = st.text_input('Sentence 2',value='It is better to play a prank on Samuel than Craig because he gets angry more often.')
180
  if st.button('Tokenize'):
181
  st.session_state['page_status'] = 'annotate_mask'
182
  st.session_state['sent_1'] = sent_1
 
1
  import numpy as np
2
+ import pandas as pd
 
3
  import streamlit as st
4
  #import matplotlib.pyplot as plt
5
  #import seaborn as sns
 
174
 
175
  if st.session_state['page_status']=='type_in':
176
  show_instruction('1. Type in the sentences and click "Tokenize"')
177
+ sent_1 = st.text_input('Sentence 1',value="Paul tried to call George on the phone, but he wasn't successful.")
178
+ sent_2 = st.text_input('Sentence 2',value="Paul tried to call George on the phone, but he wasn't available.")
179
  if st.button('Tokenize'):
180
  st.session_state['page_status'] = 'annotate_mask'
181
  st.session_state['sent_1'] = sent_1