ea4all-gradio-agents-mcp-hackathon-dropdown-0
Browse files- ea4all/ea4all_mcp.py +2 -2
ea4all/ea4all_mcp.py
CHANGED
@@ -250,7 +250,7 @@ with gr.Blocks(title="Your ArchitectGPT",fill_height=True, fill_width=True) as e
|
|
250 |
)
|
251 |
qna_prompt = gr.Textbox(lines=1, show_label=False, max_lines=1, submit_btn=True, stop_btn=True,autofocus=True, placeholder="Type your message here or select an example...")
|
252 |
with gr.Accordion("Open for question examples", open=False):
|
253 |
-
qna_examples = gr.Dropdown(get_relevant_questions(APM_MOCK_QNA), value=
|
254 |
gr.ClearButton([ea4all_chatbot,qna_prompt], value="Clear", size="sm", visible=False)
|
255 |
with gr.Tab(label="Sample Dataset", id="id_apm_ds"):
|
256 |
apm_df = gr.Dataframe()
|
@@ -273,7 +273,7 @@ with gr.Blocks(title="Your ArchitectGPT",fill_height=True, fill_width=True) as e
|
|
273 |
)
|
274 |
#vqa_prompt = gr.MultimodalTextbox(interactive=True, show_label=False, submit_btn=True, stop_btn=True, autofocus=True, placeholder="Upload your diagram and type your message or select an example...")
|
275 |
with gr.Accordion("Open for question examples", open=False):
|
276 |
-
vqa_examples = gr.Dropdown(get_vqa_examples(), value=
|
277 |
gr.ClearButton([ea4all_vqa,vqa_prompt,vqa_image, vqa_examples], value="Clear", size="sm", visible=True)
|
278 |
with gr.Tab(label="Reference Architecture", id="id_refarch"):
|
279 |
dbr_text=gr.TextArea(label="Business Problem Sample", value="Provide a Business Problem / Requirement Specification or select an example provided.", lines=14, interactive=True)
|
|
|
250 |
)
|
251 |
qna_prompt = gr.Textbox(lines=1, show_label=False, max_lines=1, submit_btn=True, stop_btn=True,autofocus=True, placeholder="Type your message here or select an example...")
|
252 |
with gr.Accordion("Open for question examples", open=False):
|
253 |
+
qna_examples = gr.Dropdown(get_relevant_questions(APM_MOCK_QNA), value=0,label="Questions", interactive=True)
|
254 |
gr.ClearButton([ea4all_chatbot,qna_prompt], value="Clear", size="sm", visible=False)
|
255 |
with gr.Tab(label="Sample Dataset", id="id_apm_ds"):
|
256 |
apm_df = gr.Dataframe()
|
|
|
273 |
)
|
274 |
#vqa_prompt = gr.MultimodalTextbox(interactive=True, show_label=False, submit_btn=True, stop_btn=True, autofocus=True, placeholder="Upload your diagram and type your message or select an example...")
|
275 |
with gr.Accordion("Open for question examples", open=False):
|
276 |
+
vqa_examples = gr.Dropdown(get_vqa_examples(), value=0,label="Diagram and Questions", interactive=True)
|
277 |
gr.ClearButton([ea4all_vqa,vqa_prompt,vqa_image, vqa_examples], value="Clear", size="sm", visible=True)
|
278 |
with gr.Tab(label="Reference Architecture", id="id_refarch"):
|
279 |
dbr_text=gr.TextArea(label="Business Problem Sample", value="Provide a Business Problem / Requirement Specification or select an example provided.", lines=14, interactive=True)
|