Spaces:
Sleeping
Sleeping
naufalnashif
commited on
Commit
•
512b477
1
Parent(s):
6bc5093
Update app.py
Browse files
app.py
CHANGED
@@ -317,10 +317,10 @@ if scraping_done:
|
|
317 |
# Menampilkan hasil sentimen dalam kotak yang dapat diperluas
|
318 |
if 'Hasil Scraping' in selected_options:
|
319 |
with st.expander(f"Hasil Scraping {selected_site} :"):
|
320 |
-
st.write(df)
|
321 |
elif 'Hasil Preprocessing' in selected_options:
|
322 |
with st.expander(f"Hasil Cleaning Data :"):
|
323 |
-
st.write(df_prep)
|
324 |
if download_format == "XLSX":
|
325 |
df.to_excel(f"hasil_scraping_{query}.xlsx", index=False)
|
326 |
df_prep.to_excel(f"hasil_preprocess_{query}.xlsx", index=False)
|
|
|
317 |
# Menampilkan hasil sentimen dalam kotak yang dapat diperluas
|
318 |
if 'Hasil Scraping' in selected_options:
|
319 |
with st.expander(f"Hasil Scraping {selected_site} :"):
|
320 |
+
st.write(df)
|
321 |
elif 'Hasil Preprocessing' in selected_options:
|
322 |
with st.expander(f"Hasil Cleaning Data :"):
|
323 |
+
st.write(df_prep)
|
324 |
if download_format == "XLSX":
|
325 |
df.to_excel(f"hasil_scraping_{query}.xlsx", index=False)
|
326 |
df_prep.to_excel(f"hasil_preprocess_{query}.xlsx", index=False)
|