Prageeth-1 commited on
Commit
5fd7fa1
·
verified ·
1 Parent(s): c9838fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: