encoding / app.py
Noxus09's picture
Create app.py
e346a17
raw
history blame
313 Bytes
import gradio as gr
from cryptosteganography import CryptoSteganography
def decode(image, password):
crypto_steganography = CryptoSteganography(password)
secret_message = crypto_steganography.retrieve(image)
return secret_message
demo = gr.Interface(decode, ["image", "text"], "text")
demo.launch()