ThanaritKanjanametawat commited on
Commit
67bc30c
1 Parent(s): c9004d2

Fix demo pipeline 3

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,10 +16,10 @@ option2 = st.sidebar.selectbox(
16
  )
17
 
18
  pipe = pipeline(option)
19
- text = st.text_area('Enter text here', 'Type here')
20
 
21
  if st.button('Generate'):
22
- st.write(pipe(text)[0]['generated_text'])
23
 
24
 
25
 
 
16
  )
17
 
18
  pipe = pipeline(option)
19
+ text = st.text_area('Enter text here', '')
20
 
21
  if st.button('Generate'):
22
+ st.write(pipe(text)[0])
23
 
24
 
25