Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -166,8 +166,8 @@ elif choose == "CNN":
|
|
166 |
st.write("Aplikasi ini menggunakan model CNN untuk mengklasifikasikan data bandwidth menjadi Fake, Genuine, atau No Heavy Activity")
|
167 |
|
168 |
# Upload file
|
169 |
-
training_file = st.file_uploader("Upload Data Training (.txt)",
|
170 |
-
real_files = st.file_uploader("Upload Data Real (.txt)",
|
171 |
|
172 |
# Parameter model
|
173 |
epochs = st.number_input("Jumlah Epoch", min_value=1, value=2000)
|
|
|
166 |
st.write("Aplikasi ini menggunakan model CNN untuk mengklasifikasikan data bandwidth menjadi Fake, Genuine, atau No Heavy Activity")
|
167 |
|
168 |
# Upload file
|
169 |
+
training_file = st.file_uploader("Upload Data Training (.txt)", type=["txt"], accept_multiple_files=True)
|
170 |
+
real_files = st.file_uploader("Upload Data Real (.txt)", type=["txt"], accept_multiple_files=True)
|
171 |
|
172 |
# Parameter model
|
173 |
epochs = st.number_input("Jumlah Epoch", min_value=1, value=2000)
|