Update app.py
Browse files
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
|
| 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 |
)
|
|
|
|
| 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 |
)
|