Prageeth-1 commited on
Commit
a9d8b03
·
verified ·
1 Parent(s): 1b285d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -103,6 +103,7 @@ with tab1:
103
 
104
  # File uploader
105
  uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
 
106
 
107
 
108
 
@@ -153,7 +154,7 @@ 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
- qa_file = uploaded_file
157
 
158
  if qa_file is not None:
159
  qa_df = pd.read_csv(qa_file)
 
103
 
104
  # File uploader
105
  uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
106
+ qa_file = uploaded_file
107
 
108
 
109
 
 
154
  st.header("Question Answering Pipeline")
155
  st.write("Ask questions about news content and get answers from our AI model.")
156
 
157
+
158
 
159
  if qa_file is not None:
160
  qa_df = pd.read_csv(qa_file)