Spaces:
Sleeping
Sleeping
Ahmad Hammoudeh
commited on
Commit
·
c7efe90
1
Parent(s):
e8e9069
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ with gr.Blocks() as demo:
|
|
| 47 |
result_button_encrypt = gr.Button('Encrypt')
|
| 48 |
result_button_decrypt = gr.Button('Decrypt')
|
| 49 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 50 |
-
output_text = gr.Textbox(placeholder='Output message', label='
|
| 51 |
|
| 52 |
result_button_encrypt.click(Encrypt_users_txt, inputs = input_text, outputs = output_text)
|
| 53 |
result_button_decrypt.click(Decrypt_users_txt, inputs = input_text, outputs = output_text)
|
|
|
|
| 47 |
result_button_encrypt = gr.Button('Encrypt')
|
| 48 |
result_button_decrypt = gr.Button('Decrypt')
|
| 49 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 50 |
+
output_text = gr.Textbox(placeholder='Output message', label='Output message')
|
| 51 |
|
| 52 |
result_button_encrypt.click(Encrypt_users_txt, inputs = input_text, outputs = output_text)
|
| 53 |
result_button_decrypt.click(Decrypt_users_txt, inputs = input_text, outputs = output_text)
|