Spaces:
Runtime error
Runtime error
Commit
·
b4d720e
1
Parent(s):
188cbee
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from huggingface_hub import create_repo
|
|
5 |
from huggingface_hub import login
|
6 |
login(token='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')
|
7 |
|
|
|
8 |
dataset = load_dataset("torileatherman/sentiment_analysis_batch_predictions", split='train')
|
9 |
predictions_df = pd.DataFrame(dataset)
|
10 |
grouped_predictions = predictions_df.groupby(predictions_df.Prediction)
|
|
|
5 |
from huggingface_hub import login
|
6 |
login(token='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')
|
7 |
|
8 |
+
# Load batch predictions data set
|
9 |
dataset = load_dataset("torileatherman/sentiment_analysis_batch_predictions", split='train')
|
10 |
predictions_df = pd.DataFrame(dataset)
|
11 |
grouped_predictions = predictions_df.groupby(predictions_df.Prediction)
|