File size: 313 Bytes
e346a17 |
1 2 3 4 5 6 7 8 9 10 |
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() |