Prageeth-1 commited on
Commit
71edf56
·
verified ·
1 Parent(s): ba3632b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -153,10 +153,10 @@ with tab2:
153
  st.header("Question Answering Pipeline")
154
  st.write("Ask questions about news content and get answers from our AI model.")
155
 
 
156
 
157
- if qa_file is not None:
158
- qa_df = uploaded_file
159
-
160
  context = ' '.join(qa_df['predicted_category'].tolist())
161
  st.write(f"Loaded {len(qa_df)} news excerpts")
162
 
 
153
  st.header("Question Answering Pipeline")
154
  st.write("Ask questions about news content and get answers from our AI model.")
155
 
156
+ qa_df = uploaded_file
157
 
158
+ if qa_df is not None:
159
+
 
160
  context = ' '.join(qa_df['predicted_category'].tolist())
161
  st.write(f"Loaded {len(qa_df)} news excerpts")
162