Prageeth-1 commited on
Commit
3e8a1b7
·
verified ·
1 Parent(s): 512eff9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -284,7 +284,7 @@ with tab2:
284
  #generate the answer based on selected news content using the given model
285
  st.markdown("---")
286
  st.header("Ask Questions Based on Your News Content")
287
- article = st.selectbox("Choose an article for the question:", df['content'].tolist())
288
 
289
  question_1 = st.text_input("Enter your question:", key="question_input")
290
  if st.button("Get Answer", key="get_answer_1"):
 
284
  #generate the answer based on selected news content using the given model
285
  st.markdown("---")
286
  st.header("Ask Questions Based on Your News Content")
287
+ context_1 = st.selectbox("Choose an article for the question:", df['content'].tolist())
288
 
289
  question_1 = st.text_input("Enter your question:", key="question_input")
290
  if st.button("Get Answer", key="get_answer_1"):