Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,13 +42,13 @@ with gr.Blocks() as demo:
|
|
| 42 |
#gr.Markdown("<center> The one day limit is to enhance the privacy of the encrypted messages.</center>")
|
| 43 |
#gr.Markdown("<center><b>'You can encrypt/decrypt so many messages everyday.'</b></center>")
|
| 44 |
#gr.Markdown("<center>Transcription takes 5-10 seconds per minute of the video (bad audio/hard accents slow it down a bit). #patience<br />If you have time while waiting, drop a ♥️ and check out my <a href=https://www.artificial-intelligence.blog target=_blank>AI blog</a> (opens in new tab).</center>")
|
| 45 |
-
input_text = gr.Textbox(label='Message')
|
| 46 |
-
Passwrd = gr.Textbox(placeholder='Password')
|
| 47 |
#User_password = gr.Textbox(placeholder='Password', label='User password')
|
| 48 |
result_button_encrypt = gr.Button('Encrypt/تشفير')
|
| 49 |
result_button_decrypt = gr.Button('Decrypt/فك تشفير')
|
| 50 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 51 |
-
output_text = gr.Textbox(placeholder='', label='
|
| 52 |
|
| 53 |
inputs = [input_text, Passwrd]
|
| 54 |
#gr.Textbox(placeholder='Message', label='Message'),
|
|
|
|
| 42 |
#gr.Markdown("<center> The one day limit is to enhance the privacy of the encrypted messages.</center>")
|
| 43 |
#gr.Markdown("<center><b>'You can encrypt/decrypt so many messages everyday.'</b></center>")
|
| 44 |
#gr.Markdown("<center>Transcription takes 5-10 seconds per minute of the video (bad audio/hard accents slow it down a bit). #patience<br />If you have time while waiting, drop a ♥️ and check out my <a href=https://www.artificial-intelligence.blog target=_blank>AI blog</a> (opens in new tab).</center>")
|
| 45 |
+
input_text = gr.Textbox(label='Message',label='')
|
| 46 |
+
Passwrd = gr.Textbox(placeholder='Password',label='')
|
| 47 |
#User_password = gr.Textbox(placeholder='Password', label='User password')
|
| 48 |
result_button_encrypt = gr.Button('Encrypt/تشفير')
|
| 49 |
result_button_decrypt = gr.Button('Decrypt/فك تشفير')
|
| 50 |
#vc_f0method = gr.Radio(label="Encrypt or Decrypt", choices=["Encrypt", "Decrypt"],value="Encrypt",interactive=True,)
|
| 51 |
+
output_text = gr.Textbox(placeholder='Output', label='')
|
| 52 |
|
| 53 |
inputs = [input_text, Passwrd]
|
| 54 |
#gr.Textbox(placeholder='Message', label='Message'),
|