naufalnashif
commited on
Commit
·
7395a16
1
Parent(s):
8c6dc8e
Update app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ elif input_option == "Unggah Berkas XLSX" and uploaded_file is not None:
|
|
292 |
emoticon = get_emoticon(sentiment_label)
|
293 |
cleaned_text = clean_text(text)
|
294 |
norm_slang_text = normalize_slang(cleaned_text, lookp_dict)
|
295 |
-
if
|
296 |
for date in dates :
|
297 |
results.append({
|
298 |
'Date' : date,
|
|
|
292 |
emoticon = get_emoticon(sentiment_label)
|
293 |
cleaned_text = clean_text(text)
|
294 |
norm_slang_text = normalize_slang(cleaned_text, lookp_dict)
|
295 |
+
if 'Date' in df.columns :
|
296 |
for date in dates :
|
297 |
results.append({
|
298 |
'Date' : date,
|