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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ class ConversationalAI:
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
 
 
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
+ disabled=True) # Use disabled=True instead of readonly=True
66
 
67
  login_btn.click(on_login_click, [username, password, login_output])
68