Spaces:
Runtime error
Runtime error
Default message
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ rotor2 = col2.number_input("Rotor 2 Setting", min_value=0, max_value=25, value=0
|
|
| 28 |
rotor3 = col3.number_input("Rotor 3 Setting", min_value=0, max_value=25, value=0)
|
| 29 |
|
| 30 |
# User input for the message to encode.
|
| 31 |
-
message = st.text_area("Message to encode:")
|
| 32 |
|
| 33 |
# The message is encoded as soon as the user types, based on the current settings.
|
| 34 |
if message: # Check if the message is not empty.
|
|
|
|
| 28 |
rotor3 = col3.number_input("Rotor 3 Setting", min_value=0, max_value=25, value=0)
|
| 29 |
|
| 30 |
# User input for the message to encode.
|
| 31 |
+
message = st.text_area("Message to encode:", value="Hello, World!", height=100)
|
| 32 |
|
| 33 |
# The message is encoded as soon as the user types, based on the current settings.
|
| 34 |
if message: # Check if the message is not empty.
|