Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -156,12 +156,14 @@ with gr.Blocks(css='style.css') as demo:
|
|
156 |
label='Model ID for image captioning',
|
157 |
choices=[MODEL_ID_OPT_6_7B, MODEL_ID_FLAN_T5_XXL],
|
158 |
value=MODEL_ID_FLAN_T5_XXL,
|
159 |
-
interactive=False
|
|
|
160 |
model_id_chat = gr.Dropdown(
|
161 |
label='Model ID for VQA',
|
162 |
choices=[MODEL_ID_OPT_6_7B, MODEL_ID_FLAN_T5_XXL],
|
163 |
value=MODEL_ID_FLAN_T5_XXL,
|
164 |
-
interactive=False
|
|
|
165 |
sampling_method = gr.Radio(
|
166 |
label='Text Decoding Method',
|
167 |
choices=['Beam search', 'Nucleus sampling'],
|
|
|
156 |
label='Model ID for image captioning',
|
157 |
choices=[MODEL_ID_OPT_6_7B, MODEL_ID_FLAN_T5_XXL],
|
158 |
value=MODEL_ID_FLAN_T5_XXL,
|
159 |
+
interactive=False,
|
160 |
+
visible=False)
|
161 |
model_id_chat = gr.Dropdown(
|
162 |
label='Model ID for VQA',
|
163 |
choices=[MODEL_ID_OPT_6_7B, MODEL_ID_FLAN_T5_XXL],
|
164 |
value=MODEL_ID_FLAN_T5_XXL,
|
165 |
+
interactive=False,
|
166 |
+
visible=False)
|
167 |
sampling_method = gr.Radio(
|
168 |
label='Text Decoding Method',
|
169 |
choices=['Beam search', 'Nucleus sampling'],
|