kodetr commited on
Commit
5309afe
·
verified ·
1 Parent(s): c4caa78

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -168,8 +168,8 @@ elif choose == "CNN":
168
  st.write("Aplikasi ini menggunakan model CNN untuk mengklasifikasikan data bandwidth menjadi Fake, Genuine, atau No Heavy Activity")
169
 
170
  # Upload file
171
- training_file = st.file_uploader("Upload Data Training (.txt)", type=["txt"])
172
- real_files = st.file_uploader("Upload Data Real (.txt)", type=["txt"], accept_multiple_files=True)
173
 
174
  if training_file:
175
  if training_file.size > 50 * 1024 * 1024: # Batasi ukuran file <= 50MB
 
168
  st.write("Aplikasi ini menggunakan model CNN untuk mengklasifikasikan data bandwidth menjadi Fake, Genuine, atau No Heavy Activity")
169
 
170
  # Upload file
171
+ training_file = st.file_uploader("Upload Data Training (.txt)", type=["txt"],key="upload", accept_multiple_files=True)
172
+ real_files = st.file_uploader("Upload Data Real (.txt)", type=["txt"], ,key="upload", accept_multiple_files=True)
173
 
174
  if training_file:
175
  if training_file.size > 50 * 1024 * 1024: # Batasi ukuran file <= 50MB