diff --git a/main.py b/main.py index 74f6799..34b04d0 100644 --- a/main.py +++ b/main.py @@ -8,4 +8,9 @@ if __name__ == "__main__": ) st.title("Projekt rozpoznawanie liter z alfabetu znaków migowych z wideo") - st.write('Hello world') \ No newline at end of file + st.write('Załaduj film') + + upload_movie = st.file_uploader("Wybierz film", type=["mp4"]) + + if upload_movie: + st.write("Film się ładuje.....") diff --git a/pred_test.py b/pred_test.py index 8c5cc2b..a968c21 100644 --- a/pred_test.py +++ b/pred_test.py @@ -9,10 +9,10 @@ import numpy as np import tensorflow as tf -model = tf.keras.models.load_model('model_pred/VGG16_sign_char_detection_model') +model = tf.keras.models.load_model('VGG19_model.hdf5') # Get the list of all files and directories -path = "test_data_own" +path = "test_data_own_cropped" dir_list = os.listdir(path) print(dir_list)