ginnyxxxxxxx commited on
Commit
15c6ed3
·
1 Parent(s): 97eb274
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -572,9 +572,11 @@ with gr.Blocks(title="HiCoTraj Demo", theme=gr.themes.Soft()) as app:
572
  agent_cards = gr.HTML(value=build_agent_cards(SHOWCASE_AGENTS[0]))
573
  agent_hidden = gr.Textbox(
574
  value=str(SHOWCASE_AGENTS[0]),
575
- visible=False,
576
- elem_id="agent_hidden_input"
 
577
  )
 
578
 
579
  with gr.Row():
580
  with gr.Column(scale=1):
 
572
  agent_cards = gr.HTML(value=build_agent_cards(SHOWCASE_AGENTS[0]))
573
  agent_hidden = gr.Textbox(
574
  value=str(SHOWCASE_AGENTS[0]),
575
+ visible=True,
576
+ elem_id="agent_hidden_input",
577
+ elem_classes=["hidden-input"]
578
  )
579
+ gr.HTML("<style>.hidden-input { display:none !important; }</style>")
580
 
581
  with gr.Row():
582
  with gr.Column(scale=1):