Spaces:
Runtime error
Runtime error
add charts
Browse files- .ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -0
- .ipynb_checkpoints/utils-checkpoint.py +2 -0
- Untitled.ipynb +0 -0
- utils.py +2 -0
.ipynb_checkpoints/Untitled-checkpoint.ipynb
DELETED
The diff for this file is too large to render.
See raw diff
|
|
.ipynb_checkpoints/utils-checkpoint.py
CHANGED
@@ -20,6 +20,8 @@ labels = [
|
|
20 |
|
21 |
sample_file = pd.read_csv('sample.csv').to_csv(index=False).encode('utf-8')
|
22 |
|
|
|
|
|
23 |
def get_sentiment_label_facebook(list_of_sent_dicts):
|
24 |
if list_of_sent_dicts['labels'][0] == 'negative':
|
25 |
return 'negative'
|
|
|
20 |
|
21 |
sample_file = pd.read_csv('sample.csv').to_csv(index=False).encode('utf-8')
|
22 |
|
23 |
+
print('utils imported!')
|
24 |
+
|
25 |
def get_sentiment_label_facebook(list_of_sent_dicts):
|
26 |
if list_of_sent_dicts['labels'][0] == 'negative':
|
27 |
return 'negative'
|
Untitled.ipynb
DELETED
The diff for this file is too large to render.
See raw diff
|
|
utils.py
CHANGED
@@ -20,6 +20,8 @@ labels = [
|
|
20 |
|
21 |
sample_file = pd.read_csv('sample.csv').to_csv(index=False).encode('utf-8')
|
22 |
|
|
|
|
|
23 |
def get_sentiment_label_facebook(list_of_sent_dicts):
|
24 |
if list_of_sent_dicts['labels'][0] == 'negative':
|
25 |
return 'negative'
|
|
|
20 |
|
21 |
sample_file = pd.read_csv('sample.csv').to_csv(index=False).encode('utf-8')
|
22 |
|
23 |
+
print('utils imported!')
|
24 |
+
|
25 |
def get_sentiment_label_facebook(list_of_sent_dicts):
|
26 |
if list_of_sent_dicts['labels'][0] == 'negative':
|
27 |
return 'negative'
|