NeoPy commited on
Commit
065c955
·
verified ·
1 Parent(s): 81e1eef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,13 +8,13 @@ def rot13_cipher(text):
8
  # Decode the text using ROT13
9
  rot13_decoded = codecs.decode(rot13_encoded, 'rot_13')
10
 
11
- return rot13_encoded
12
 
13
  # Gradio interface
14
  iface = gr.Interface(
15
  fn=rot13_cipher,
16
  inputs="text",
17
- outputs=["text"],
18
  title="ROT13 Encoder/Decoder",
19
  description="Enter text to see its ROT13 encoded and decoded versions."
20
  )
 
8
  # Decode the text using ROT13
9
  rot13_decoded = codecs.decode(rot13_encoded, 'rot_13')
10
 
11
+ return rot13_encoded, rot13_encoded
12
 
13
  # Gradio interface
14
  iface = gr.Interface(
15
  fn=rot13_cipher,
16
  inputs="text",
17
+ outputs=["text", "text"],
18
  title="ROT13 Encoder/Decoder",
19
  description="Enter text to see its ROT13 encoded and decoded versions."
20
  )