Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
| 34 |
-
df = pd.read_csv(
|
| 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
|