RYU-KASH's picture
Upload 5 files
319dbb7 verified
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()