kambris commited on
Commit
81fb02f
·
verified ·
1 Parent(s): 8585464

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -506,7 +506,7 @@ if uploaded_file is not None:
506
  df['country'] = df['country'].str.strip()
507
  df = df.dropna(subset=['country', 'poem'])
508
  # Extract 10 rows per country
509
- sampled_df = df.groupby('country').apply(lambda x: x.head(50)).reset_index(drop=True)
510
 
511
  st.subheader("Topic Modeling Settings")
512
  col1, col2 = st.columns(2)
 
506
  df['country'] = df['country'].str.strip()
507
  df = df.dropna(subset=['country', 'poem'])
508
  # Extract 10 rows per country
509
+ sampled_df = df.groupby('country').apply(lambda x: x.head(20)).reset_index(drop=True)
510
 
511
  st.subheader("Topic Modeling Settings")
512
  col1, col2 = st.columns(2)