Tesneem commited on
Commit
8284226
·
verified ·
1 Parent(s): 5b0ad58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -81,5 +81,10 @@ if uploaded_file:
81
 
82
  if len(chunks) > 3:
83
  st.info(f"... and {len(chunks)-3} more chunks processed.")
 
 
 
 
 
84
  else:
85
  st.warning("⚠️ No chunks were generated.")
 
81
 
82
  if len(chunks) > 3:
83
  st.info(f"... and {len(chunks)-3} more chunks processed.")
84
+ # st.success(f"✅ {len(chunks)} chunks inserted into `{selected_collection}`")
85
+
86
+ # Rerun the app to refresh the UI
87
+ st.rerun()
88
+
89
  else:
90
  st.warning("⚠️ No chunks were generated.")