DaYin commited on
Commit
fa390d6
β€’
1 Parent(s): 308535b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -122,22 +122,22 @@ def build_demo(TYPES):
122
 
123
  with gr.Column(scale=1):
124
  with gr.Accordion("Input Image (optional)", open=True, elem_classes="accordion-label"):
125
- image = gr.HTML("", elem_id="input_image")
126
  image.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
127
 
128
  with gr.Row():
129
  with gr.Column():
130
- with gr.Accordion("πŸ“ Task Metadata", open=False, elem_classes="accordion-label"):
131
  task_metadata = gr.Markdown("", elem_classes="markdown-text-tiny")
132
  task_metadata.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
133
 
134
  with gr.Row():
135
  with gr.Column(scale=1.1):
136
- gr.Markdown("## πŸ“’ Plan Module Process History w/ <span style='background-color: #FDFDBA;'>Execution Module Results</span>", elem_classes="markdown-text")
137
  Chatbot_Common_Plan = gr.Chatbot(avatar_images=["human_icon.jpeg", "ai_icon.png"], height=1000, container=False, label="Common Plan History", likeable=False, show_share_button=False, show_label=True, elem_classes="chat-common", layout="bubble")
138
  Chatbot_Common_Plan.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
139
  with gr.Column(scale=1):
140
- gr.Markdown("## πŸ“’ Ground Module Process History", elem_classes="markdown-text")
141
  Chatbot_Common_Ground = gr.Chatbot(avatar_images=["human_icon.jpeg", "ai_icon.png"], height=1000, container=False, label="Common Ground History", likeable=False, show_share_button=False, show_label=True, elem_classes="chat-common", layout="bubble")
142
  Chatbot_Common_Ground.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
143
 
 
122
 
123
  with gr.Column(scale=1):
124
  with gr.Accordion("Input Image (optional)", open=True, elem_classes="accordion-label"):
125
+ image = gr.HTML("", elem_id="markdown-text-tiny")
126
  image.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
127
 
128
  with gr.Row():
129
  with gr.Column():
130
+ with gr.Accordion("πŸ“ Task Metadata", open=True, elem_classes="accordion-label"):
131
  task_metadata = gr.Markdown("", elem_classes="markdown-text-tiny")
132
  task_metadata.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
133
 
134
  with gr.Row():
135
  with gr.Column(scale=1.1):
136
+ gr.Markdown("## πŸ“’ Plan Module Process History w/ <span style='background-color: #FDFDBA;'>Execution Module Results</span>", elem_classes="accordion-label")
137
  Chatbot_Common_Plan = gr.Chatbot(avatar_images=["human_icon.jpeg", "ai_icon.png"], height=1000, container=False, label="Common Plan History", likeable=False, show_share_button=False, show_label=True, elem_classes="chat-common", layout="bubble")
138
  Chatbot_Common_Plan.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
139
  with gr.Column(scale=1):
140
+ gr.Markdown("## πŸ“’ Ground Module Process History", elem_classes="accordion-label")
141
  Chatbot_Common_Ground = gr.Chatbot(avatar_images=["human_icon.jpeg", "ai_icon.png"], height=1000, container=False, label="Common Ground History", likeable=False, show_share_button=False, show_label=True, elem_classes="chat-common", layout="bubble")
142
  Chatbot_Common_Ground.change(lambda x: x, inputs=[], outputs=[], scroll_to_output=False, js=js_code)
143