Spaces:
Running
Running
Update app.py
Browse files
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)
|