Spaces:
Running
Running
just 2 VLMs
Browse files- ui/main_page.py +2 -1
ui/main_page.py
CHANGED
@@ -115,8 +115,9 @@ def build_main_page(concepts_dict, metadata_dict, local_storage):
|
|
115 |
gen_button = gr.Button("Yes", variant="primary", elem_id="generate_answer_btn")
|
116 |
vlm_no_btn = gr.Button("No")
|
117 |
vlm_cancel_btn = gr.Button("Cancel")
|
|
|
118 |
vlm_model_dropdown = gr.Dropdown(
|
119 |
-
["
|
120 |
)
|
121 |
vlm_output = gr.Textbox(lines=6, label="Generated description", elem_id="vlm_output", interactive=False)
|
122 |
vlm_feedback = gr.Radio(["Yes π", "No π"], label="Do you think the generated description is accurate within the cultural context of your country?", visible=False, elem_id="vlm_feedback", interactive=True)
|
|
|
115 |
gen_button = gr.Button("Yes", variant="primary", elem_id="generate_answer_btn")
|
116 |
vlm_no_btn = gr.Button("No")
|
117 |
vlm_cancel_btn = gr.Button("Cancel")
|
118 |
+
# ["SmolVLM-500M", "Qwen2.5-VL-7B", "InternVL3_5-8B", "Gemma3-4B"]
|
119 |
vlm_model_dropdown = gr.Dropdown(
|
120 |
+
["InternVL3_5-8B", "Gemma3-4B"], value="Gemma3-4B", multiselect=False, label="VLM Model", info="Select the VLM model to use for generating the description."
|
121 |
)
|
122 |
vlm_output = gr.Textbox(lines=6, label="Generated description", elem_id="vlm_output", interactive=False)
|
123 |
vlm_feedback = gr.Radio(["Yes π", "No π"], label="Do you think the generated description is accurate within the cultural context of your country?", visible=False, elem_id="vlm_feedback", interactive=True)
|