Zekun Wu
commited on
Commit
·
dc084c4
1
Parent(s):
525f2d6
update
Browse files- pages/1_Demo_1.py +1 -0
pages/1_Demo_1.py
CHANGED
|
@@ -72,6 +72,7 @@ else:
|
|
| 72 |
st.write('Generated {} male continuations'.format(len(st.session_state['male_continuations'])))
|
| 73 |
st.write('Generated {} female continuations'.format(len(st.session_state['female_continuations'])))
|
| 74 |
|
|
|
|
| 75 |
if st.session_state.get('male_continuations') and st.session_state.get('female_continuations'):
|
| 76 |
st.subheader('Step 3: Sample Generated Texts')
|
| 77 |
st.write('**Male Prompt:**', st.session_state['male_prompts'][0])
|
|
|
|
| 72 |
st.write('Generated {} male continuations'.format(len(st.session_state['male_continuations'])))
|
| 73 |
st.write('Generated {} female continuations'.format(len(st.session_state['female_continuations'])))
|
| 74 |
|
| 75 |
+
|
| 76 |
if st.session_state.get('male_continuations') and st.session_state.get('female_continuations'):
|
| 77 |
st.subheader('Step 3: Sample Generated Texts')
|
| 78 |
st.write('**Male Prompt:**', st.session_state['male_prompts'][0])
|