Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ with gr.Blocks() as app:
|
|
27 |
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
|
|
30 |
rec=gr.Dropdown(label="Recipient", choices=[f for f in rec_list], allow_custom_value=True)
|
31 |
send_mes=gr.Textbox(label="Message", lines=6)
|
32 |
send_mes_btn=gr.Button()
|
@@ -61,7 +62,7 @@ with gr.Blocks() as app:
|
|
61 |
def test_fn(im):
|
62 |
return (im)
|
63 |
|
64 |
-
input_key.change(crypt.address,input_key,
|
65 |
|
66 |
pass_btn.click(checkp,pass_box,[invalid,valida])
|
67 |
|
|
|
27 |
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
+
sender=gr.Textbox(label = "Sender", interactive = False)
|
31 |
rec=gr.Dropdown(label="Recipient", choices=[f for f in rec_list], allow_custom_value=True)
|
32 |
send_mes=gr.Textbox(label="Message", lines=6)
|
33 |
send_mes_btn=gr.Button()
|
|
|
62 |
def test_fn(im):
|
63 |
return (im)
|
64 |
|
65 |
+
input_key.change(crypt.address,input_key,sender)
|
66 |
|
67 |
pass_btn.click(checkp,pass_box,[invalid,valida])
|
68 |
|