Blane187 commited on
Commit
410954d
·
verified ·
1 Parent(s): 82d9f75

Update app.py

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