miwojc commited on
Commit
bc75c2a
·
1 Parent(s): 49dcd1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import streamlit as st
4
  # if 'user_text' not in st.session_state:
5
  # st.session_state.user_text = 'foo'
6
 
7
- st.text_input("Write something", value=st.session_state.user_text)
 
8
 
9
  if st.button("Write with transformer"):
10
  gpt2 = pipeline('text-generation')
 
4
  # if 'user_text' not in st.session_state:
5
  # st.session_state.user_text = 'foo'
6
 
7
+ # st.text_input("Write something", value=st.session_state.user_text)
8
+ st.text_input("Write something")
9
 
10
  if st.button("Write with transformer"):
11
  gpt2 = pipeline('text-generation')