Update app.py
Browse files
app.py
CHANGED
@@ -88,10 +88,7 @@ with gr.Blocks() as demo:
|
|
88 |
gr.Markdown("# Clinical Trial Chatbot with Model Selection")
|
89 |
|
90 |
with gr.Row():
|
91 |
-
#
|
92 |
-
model_dropdown = gr.Dropdown(choices=model_list, value=current_model_name, label="Select Model")
|
93 |
-
|
94 |
-
# Left sidebar for inputs
|
95 |
with gr.Column():
|
96 |
system_instruction = gr.Textbox(
|
97 |
value=test_instruction_string,
|
@@ -105,8 +102,9 @@ with gr.Blocks() as demo:
|
|
105 |
)
|
106 |
submit_btn = gr.Button("Submit")
|
107 |
|
108 |
-
# Right column for
|
109 |
with gr.Column():
|
|
|
110 |
response_display = gr.Textbox(
|
111 |
label="Bot Response", interactive=False, placeholder="Response will appear here."
|
112 |
)
|
|
|
88 |
gr.Markdown("# Clinical Trial Chatbot with Model Selection")
|
89 |
|
90 |
with gr.Row():
|
91 |
+
# Left column for user inputs
|
|
|
|
|
|
|
92 |
with gr.Column():
|
93 |
system_instruction = gr.Textbox(
|
94 |
value=test_instruction_string,
|
|
|
102 |
)
|
103 |
submit_btn = gr.Button("Submit")
|
104 |
|
105 |
+
# Right column for model selection and bot response
|
106 |
with gr.Column():
|
107 |
+
model_dropdown = gr.Dropdown(choices=model_list, value=current_model_name, label="Select Model")
|
108 |
response_display = gr.Textbox(
|
109 |
label="Bot Response", interactive=False, placeholder="Response will appear here."
|
110 |
)
|