Spaces:
Sleeping
Sleeping
Commit
·
dee7862
1
Parent(s):
ab810fc
settings path
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def main():
|
|
217 |
st.title("Aplikasi Analisis Sentimen dan Prediksi Emosi")
|
218 |
|
219 |
# Add download link for example slank template
|
220 |
-
slank_template_path = "assets
|
221 |
st.markdown(get_example_download_link(slank_template_path, "Download Contoh Template Data Slank (TXT)"), unsafe_allow_html=True)
|
222 |
|
223 |
slank_file = st.file_uploader("Upload file slank dengan baris pertama Slank;Formal (TXT)", type=["txt"])
|
@@ -241,7 +241,7 @@ def main():
|
|
241 |
|
242 |
elif menu == "Import dari File":
|
243 |
# Add download link for example content template
|
244 |
-
content_template_path = "assets
|
245 |
st.markdown(get_example_download_link(content_template_path, "Download Contoh Template Data Content (XLSX)"), unsafe_allow_html=True)
|
246 |
|
247 |
uploaded_file = st.file_uploader("Upload file CSV atau XLSX", type=["csv", "xlsx"])
|
|
|
217 |
st.title("Aplikasi Analisis Sentimen dan Prediksi Emosi")
|
218 |
|
219 |
# Add download link for example slank template
|
220 |
+
slank_template_path = "assets/contoh template data slank.txt"
|
221 |
st.markdown(get_example_download_link(slank_template_path, "Download Contoh Template Data Slank (TXT)"), unsafe_allow_html=True)
|
222 |
|
223 |
slank_file = st.file_uploader("Upload file slank dengan baris pertama Slank;Formal (TXT)", type=["txt"])
|
|
|
241 |
|
242 |
elif menu == "Import dari File":
|
243 |
# Add download link for example content template
|
244 |
+
content_template_path = "assets/contoh template data content.xlsx"
|
245 |
st.markdown(get_example_download_link(content_template_path, "Download Contoh Template Data Content (XLSX)"), unsafe_allow_html=True)
|
246 |
|
247 |
uploaded_file = st.file_uploader("Upload file CSV atau XLSX", type=["csv", "xlsx"])
|