Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,9 +50,9 @@ with gr.Blocks() as demo:
|
|
| 50 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 51 |
output_text = gr.Textbox(placeholder='', label='Output')
|
| 52 |
|
| 53 |
-
inputs = [
|
| 54 |
-
gr.Textbox(placeholder='Message', label='Message'),
|
| 55 |
-
gr.Textbox(placeholder='Password', label='Password')]
|
| 56 |
|
| 57 |
result_button_encrypt.click(Encrypt_users_txt, inputs = inputs, outputs = output_text)
|
| 58 |
result_button_decrypt.click(Decrypt_users_txt, inputs = inputs, outputs = output_text)
|
|
|
|
| 50 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 51 |
output_text = gr.Textbox(placeholder='', label='Output')
|
| 52 |
|
| 53 |
+
inputs = [input_text, Passwrd]
|
| 54 |
+
#gr.Textbox(placeholder='Message', label='Message'),
|
| 55 |
+
#gr.Textbox(placeholder='Password', label='Password')]
|
| 56 |
|
| 57 |
result_button_encrypt.click(Encrypt_users_txt, inputs = inputs, outputs = output_text)
|
| 58 |
result_button_decrypt.click(Decrypt_users_txt, inputs = inputs, outputs = output_text)
|