GmailTrust commited on
Commit
676b9ca
·
verified ·
1 Parent(s): 37b4edb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -263,7 +263,8 @@ with gr.Blocks() as demo:
263
  password_input = gr.Textbox(label="Password", type="password")
264
  with gr.Row():
265
  update_btn = gr.Button("Update Notification")
266
- current_notification = gr.Textbox(label="Current Notification", interactive=False)
 
267
  update_btn.click(update_notification, inputs=[notification_input, password_input], outputs=current_notification)
268
 
269
  gr.Markdown("## Get OTP Log")
 
263
  password_input = gr.Textbox(label="Password", type="password")
264
  with gr.Row():
265
  update_btn = gr.Button("Update Notification")
266
+ current_notification = gr.Textbox(label="Current Notification", value=read_notification(), interactive=False)
267
+
268
  update_btn.click(update_notification, inputs=[notification_input, password_input], outputs=current_notification)
269
 
270
  gr.Markdown("## Get OTP Log")