Izza-shahzad-13 commited on
Commit
622dc3f
·
verified ·
1 Parent(s): f41dd0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ if uploaded_file is not None:
25
  st.write("Dataset Preview:", df.head())
26
 
27
  # Assume 'text' column contains the document text; replace with actual column name
28
- documents = df['text'].tolist() if 'text' in df.columns else st.text_input("Specify the text column name:")
29
 
30
  # Create embeddings for FAISS indexing
31
  st.write("Indexing documents...")
 
25
  st.write("Dataset Preview:", df.head())
26
 
27
  # Assume 'text' column contains the document text; replace with actual column name
28
+ documents = df['Country Name'].tolist() if 'text' in df.columns else st.text_input("Specify the text column name:")
29
 
30
  # Create embeddings for FAISS indexing
31
  st.write("Indexing documents...")