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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -259,11 +259,11 @@ with gr.Blocks() as demo:
259
 
260
  gr.Markdown("## System Notification")
261
  with gr.Row():
262
- notification_input = gr.Textbox(label="Update Notification", lines=3)
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
 
 
259
 
260
  gr.Markdown("## System Notification")
261
  with gr.Row():
262
+ notification_input = gr.Textbox(label="View the number of gmail in stock", lines=3)
263
  password_input = gr.Textbox(label="Password", type="password")
264
  with gr.Row():
265
+ update_btn = gr.Button("View the number of gmail in stock")
266
+ current_notification = gr.Textbox(label="gmail in stock", value=read_notification(), interactive=False)
267
 
268
  update_btn.click(update_notification, inputs=[notification_input, password_input], outputs=current_notification)
269