DHEIVER commited on
Commit
32dca97
·
verified ·
1 Parent(s): 3bc8ceb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,7 +61,8 @@ class ConversationalAI:
61
  username = gr.Textbox(label="Username")
62
  password = gr.Textbox(label="Password", type="password")
63
  login_btn = gr.Button("Login")
64
- login_output = gr.Textbox(label="Login Status:", placeholder="Login status will appear here", disabled=True)
 
65
 
66
  login_btn.click(on_login_click, [username, password, login_output])
67
 
 
61
  username = gr.Textbox(label="Username")
62
  password = gr.Textbox(label="Password", type="password")
63
  login_btn = gr.Button("Login")
64
+ login_output = gr.Textbox(label="Login Status:", placeholder="Login status will appear here",
65
+ readonly=True) # Use readonly=True instead of disabled=True
66
 
67
  login_btn.click(on_login_click, [username, password, login_output])
68