Omnibus commited on
Commit
71c54a7
·
verified ·
1 Parent(s): 3073c44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  def hide_message(reg,sec):
3
- out = reg + " " + ''.join(chr(0xE0000 + ord(ch)) for ch in sec)
4
  return out
5
  def decode_message(inp):
6
  return ''.join(chr(ord(ch) - 0xE0000) if 0xE0000 <= ord(ch) <= 0x10FFFF else chr(ord(ch)) for ch in inp)
 
1
  import gradio as gr
2
  def hide_message(reg,sec):
3
+ out = reg + ''.join(chr(0xE0000 + ord(ch)) for ch in sec)
4
  return out
5
  def decode_message(inp):
6
  return ''.join(chr(ord(ch) - 0xE0000) if 0xE0000 <= ord(ch) <= 0x10FFFF else chr(ord(ch)) for ch in inp)