ai-lover commited on
Commit
0a9889e
·
verified ·
1 Parent(s): 01dce02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,9 +36,9 @@ def generate_insights(df):
36
 
37
  return insights
38
 
39
- if df.empty:
40
- st.error("The uploaded dataset is empty. Please upload a valid dataset.")
41
- st.stop()
42
 
43
  # RAG setup using Hugging Face summarization
44
  def generate_query_summary(df, query):
 
36
 
37
  return insights
38
 
39
+ if df.empty:
40
+ st.error("The uploaded dataset is empty. Please upload a valid dataset.")
41
+ st.stop()
42
 
43
  # RAG setup using Hugging Face summarization
44
  def generate_query_summary(df, query):