Spaces:
Sleeping
Sleeping
山越貴耀
commited on
Commit
•
ccfb64d
1
Parent(s):
f09823c
fixed bugs
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ if __name__=='__main__':
|
|
291 |
disp_sent_after = ' '.join(decoded_sent[sampled_loc+1:-1])+'</span></p>'
|
292 |
st.markdown(disp_sent_before+' '+new_word+' '+disp_sent_after,unsafe_allow_html=True)
|
293 |
else:
|
294 |
-
disp_step = f'<p style={disp_style}>Step {st.session_state.sent_id}'
|
295 |
st.markdown(f'{disp_step}<span style="font-weight:bold">{sentence}</span></p>',unsafe_allow_html=True)
|
296 |
cols = st.columns([1,2,1])
|
297 |
with cols[1]:
|
|
|
291 |
disp_sent_after = ' '.join(decoded_sent[sampled_loc+1:-1])+'</span></p>'
|
292 |
st.markdown(disp_sent_before+' '+new_word+' '+disp_sent_after,unsafe_allow_html=True)
|
293 |
else:
|
294 |
+
disp_step = f'<p style={disp_style}>Step {st.session_state.sent_id}: '
|
295 |
st.markdown(f'{disp_step}<span style="font-weight:bold">{sentence}</span></p>',unsafe_allow_html=True)
|
296 |
cols = st.columns([1,2,1])
|
297 |
with cols[1]:
|