YchKhan commited on
Commit
01936b7
1 Parent(s): 4c4cf13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,10 +89,10 @@ with gr.Blocks() as demo:
89
  with gr.Column():
90
  gr.Markdown("## Extaction, Classification and AI tool")
91
  with gr.Column():
92
- md_username = gr.Markdown()
93
  btn_logout = gr.Button("Logout")
94
  with gr.Accordion(label="**Login** to keep user preferences", open=False):
95
- st_user = gr.State()
96
  with gr.Column():
97
  tb_user = gr.Textbox(label='Username')
98
  tb_pwd = gr.Textbox(label='Password', type='password')
 
89
  with gr.Column():
90
  gr.Markdown("## Extaction, Classification and AI tool")
91
  with gr.Column():
92
+ md_username = gr.Markdown(value='Hi Guest!')
93
  btn_logout = gr.Button("Logout")
94
  with gr.Accordion(label="**Login** to keep user preferences", open=False):
95
+ st_user = gr.State(value={"name":"Guest", "hashed_password":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "history": { "keywords": [ "value1", "value3", "value4"], "prompts": [] }})
96
  with gr.Column():
97
  tb_user = gr.Textbox(label='Username')
98
  tb_pwd = gr.Textbox(label='Password', type='password')