ZongqianLi commited on
Commit
45a301c
·
verified ·
1 Parent(s): 0b0eed1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -9,4 +9,8 @@ if text:
9
  st.json(out)
10
 
11
  pipe = pipeline("question-answering")
12
- text = st.text_area("enter some text")
 
 
 
 
 
9
  st.json(out)
10
 
11
  pipe = pipeline("question-answering")
12
+ text = st.text_area("enter some text")
13
+
14
+ if text:
15
+ out = pipe(text)
16
+ st.json(out)