Spaces:
Runtime error
Runtime error
torileatherman
commited on
Commit
•
6984e16
1
Parent(s):
c385243
Update app.py
Browse files
app.py
CHANGED
@@ -42,9 +42,10 @@ def manual_label():
|
|
42 |
random_prediction = random_sample['Prediction'].iloc[0]
|
43 |
return random_headline, random_prediction
|
44 |
|
45 |
-
|
46 |
|
47 |
def thanks(sentiment):
|
|
|
48 |
labeled_sentiments.append(sentiment)
|
49 |
counter = len(labeled_sentiments)
|
50 |
counter = str(counter)
|
|
|
42 |
random_prediction = random_sample['Prediction'].iloc[0]
|
43 |
return random_headline, random_prediction
|
44 |
|
45 |
+
|
46 |
|
47 |
def thanks(sentiment):
|
48 |
+
labeled_sentiments = []
|
49 |
labeled_sentiments.append(sentiment)
|
50 |
counter = len(labeled_sentiments)
|
51 |
counter = str(counter)
|