ya02 commited on
Commit
3c9379d
·
verified ·
1 Parent(s): e1c6483

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,8 +30,8 @@ def polarity_scores_roberta(example):
30
  return scores_dict
31
 
32
  # Function to perform the analysis and return results
33
- def analyze_reviews(csv_file):
34
- df = pd.read_csv(csv_file)
35
  df = df.head(200) # Limiting to 200 for faster processing
36
 
37
  # Plot the distribution of review scores
 
30
  return scores_dict
31
 
32
  # Function to perform the analysis and return results
33
+ def analyze_reviews():
34
+ df = pd.read_csv("Reviews.csv")
35
  df = df.head(200) # Limiting to 200 for faster processing
36
 
37
  # Plot the distribution of review scores