Spaces:
Runtime error
Runtime error
Commit
·
17bb07c
1
Parent(s):
d535e9a
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def article_selection(sentiment):
|
|
36 |
predictions_df_url2 = predictions['Url'].iloc[2]
|
37 |
return predictions_df_url0, predictions_df_url1, predictions_df_url2
|
38 |
|
39 |
-
def manual_label(
|
40 |
# Encoding sentiment data
|
41 |
predictions_df['Sentiment'] = predictions_df['Sentiment'].map({0: 'Negative', 1: 'Neutral', 2: 'Positive'})
|
42 |
|
|
|
36 |
predictions_df_url2 = predictions['Url'].iloc[2]
|
37 |
return predictions_df_url0, predictions_df_url1, predictions_df_url2
|
38 |
|
39 |
+
def manual_label():
|
40 |
# Encoding sentiment data
|
41 |
predictions_df['Sentiment'] = predictions_df['Sentiment'].map({0: 'Negative', 1: 'Neutral', 2: 'Positive'})
|
42 |
|