ea4all-gradio-agents-mcp-hackathon-uex
Browse files- ea4all/ea4all_mcp.py +2 -2
ea4all/ea4all_mcp.py
CHANGED
@@ -248,10 +248,10 @@ with gr.Blocks(title="Your ArchitectGPT",fill_height=True, fill_width=True) as e
|
|
248 |
max_height=160,
|
249 |
layout="bubble",
|
250 |
)
|
251 |
-
qna_prompt = gr.Textbox(lines=1, show_label=False, max_lines=1, submit_btn=True,
|
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=
|
255 |
with gr.Tab(label="Sample Dataset", id="id_apm_ds"):
|
256 |
apm_df = gr.Dataframe()
|
257 |
with gr.Tab(label="Diagram Question and Answering"):
|
|
|
248 |
max_height=160,
|
249 |
layout="bubble",
|
250 |
)
|
251 |
+
qna_prompt = gr.Textbox(lines=1, show_label=False, max_lines=1, submit_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=True)
|
255 |
with gr.Tab(label="Sample Dataset", id="id_apm_ds"):
|
256 |
apm_df = gr.Dataframe()
|
257 |
with gr.Tab(label="Diagram Question and Answering"):
|