Spaces:
Paused
Paused
Update app.py
Browse files
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="
|
| 263 |
password_input = gr.Textbox(label="Password", type="password")
|
| 264 |
with gr.Row():
|
| 265 |
-
update_btn = gr.Button("
|
| 266 |
-
current_notification = gr.Textbox(label="
|
| 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 |
|