| 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() |