Spaces:
Runtime error
Runtime error
Update stegan2.py
Browse files- stegan2.py +3 -1
stegan2.py
CHANGED
|
@@ -48,9 +48,11 @@ def decode(image_name,txt=None):
|
|
| 48 |
#enc_in = base64.b64decode(this)
|
| 49 |
#enc_in = bytes(this,"utf-8")
|
| 50 |
print (this)
|
|
|
|
| 51 |
this = eval(this)
|
| 52 |
print (this)
|
| 53 |
-
|
|
|
|
| 54 |
enc_in=this
|
| 55 |
print(f'enc_in:: {enc_in}')
|
| 56 |
with open("encrypted_data1.bin", "wb") as file:
|
|
|
|
| 48 |
#enc_in = base64.b64decode(this)
|
| 49 |
#enc_in = bytes(this,"utf-8")
|
| 50 |
print (this)
|
| 51 |
+
print (type(this))
|
| 52 |
this = eval(this)
|
| 53 |
print (this)
|
| 54 |
+
print (type(this))
|
| 55 |
+
|
| 56 |
enc_in=this
|
| 57 |
print(f'enc_in:: {enc_in}')
|
| 58 |
with open("encrypted_data1.bin", "wb") as file:
|