ElBeh commited on
Commit
a1fdc76
·
verified ·
1 Parent(s): ff458fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -47,15 +47,13 @@ model = keras.models.load_model(local_model_path)
47
  st.title("Fake Detection")
48
  st.divider()
49
 
50
- crop = st.toggle("Activate random crop")
51
- if crop:
52
- st.write("random crop activated!")
53
- compress = st.toggle("Activate jpeg compression")
54
- if crop:
55
- st.write("jpeg compression activated!")
56
  st.divider()
57
 
58
- binary = st.toggle("Activate binary classification")
 
59
  st.divider()
60
 
61
  file_name = st.file_uploader("Choose an image...")
 
47
  st.title("Fake Detection")
48
  st.divider()
49
 
50
+ st.subheader("Image Preprocessing")
51
+ crop = st.toggle("random crop")
52
+ compress = st.toggle("jpeg compression")
 
 
 
53
  st.divider()
54
 
55
+ st.subheader("Classification")
56
+ binary = st.toggle("binary classification")
57
  st.divider()
58
 
59
  file_name = st.file_uploader("Choose an image...")