Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|
|
|
|
| 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 |
|