Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -295,7 +295,7 @@ with tab2:
|
|
| 295 |
# Question Answering section
|
| 296 |
st.header("Ask Questions Based on Your News Content")
|
| 297 |
context_1 = st.text_area("Enter the news content (context):")
|
| 298 |
-
question_1 = st.text_input("Enter your question:")
|
| 299 |
|
| 300 |
if st.button("Get Answer"):
|
| 301 |
if context_1 and question_1:
|
|
|
|
| 295 |
# Question Answering section
|
| 296 |
st.header("Ask Questions Based on Your News Content")
|
| 297 |
context_1 = st.text_area("Enter the news content (context):")
|
| 298 |
+
question_1 = st.text_input("Enter your question:" , key="question_input" )
|
| 299 |
|
| 300 |
if st.button("Get Answer"):
|
| 301 |
if context_1 and question_1:
|