File size: 808 Bytes
319dbb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import streamlit as st
from picchange import img_cryptography
from stegnography import steganography_function
from detection import steganography_detection

# Sidebar Title
st.sidebar.title("IMAGENIAS")
st.sidebar.write("Choose a feature to proceed:")

# Add buttons in rows within the sidebar
crypto_button = st.sidebar.button("Crypto")
stego_button = st.sidebar.button("Steganography")
detect_button = st.sidebar.button("Detection")

# Main App Title
st.title("IMAGNIAS: Image Processing Toolkit")

# Trigger the corresponding function based on the clicked button
if crypto_button:
    st.write("### Crypto Functionality")
    img_cryptography()
elif stego_button:
    st.write("### Steganography Functionality")
    steganography_function()
else:
    steganography_detection()