Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ if option == "Extractive question answering":
|
|
| 52 |
if uploaded_file is not None:
|
| 53 |
stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
|
| 54 |
string_data = stringio.read()
|
| 55 |
-
|
| 56 |
question = st.text_input(label="Enter your question")
|
| 57 |
button = st.button("Get answer")
|
| 58 |
if button:
|
|
|
|
| 52 |
if uploaded_file is not None:
|
| 53 |
stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
|
| 54 |
string_data = stringio.read()
|
| 55 |
+
context = st.text_area("", value=string_data, height=330)
|
| 56 |
question = st.text_input(label="Enter your question")
|
| 57 |
button = st.button("Get answer")
|
| 58 |
if button:
|