Noxus09 commited on
Commit
e346a17
1 Parent(s): b5fd3a3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from cryptosteganography import CryptoSteganography
3
+
4
+ def decode(image, password):
5
+ crypto_steganography = CryptoSteganography(password)
6
+ secret_message = crypto_steganography.retrieve(image)
7
+ return secret_message
8
+
9
+ demo = gr.Interface(decode, ["image", "text"], "text")
10
+ demo.launch()