Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ with gr.Row():
|
|
| 39 |
with gr.Column(): # Column for dropdowns and model choice
|
| 40 |
max_tokens = gr.Dropdown(list(range(50, 101)), label="Max Tokens", value=75)
|
| 41 |
temperature = gr.Slider(0.5, 0.9, step=0.1, label="Temperature", value=0.9)
|
| 42 |
-
imgID = gr.Dropdown(["1","2","3","4"], label="Choose the ID of the image selected")
|
| 43 |
|
| 44 |
model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention", "Baseline Model CNN-RNN"], label="Select Model")
|
| 45 |
generate_button = gr.Button("Generate Caption")
|
|
|
|
| 39 |
with gr.Column(): # Column for dropdowns and model choice
|
| 40 |
max_tokens = gr.Dropdown(list(range(50, 101)), label="Max Tokens", value=75)
|
| 41 |
temperature = gr.Slider(0.5, 0.9, step=0.1, label="Temperature", value=0.9)
|
| 42 |
+
imgID = gr.Dropdown(["1","2","3","4","5","6"], label="Choose the ID of the image selected")
|
| 43 |
|
| 44 |
model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention", "Baseline Model CNN-RNN"], label="Select Model")
|
| 45 |
generate_button = gr.Button("Generate Caption")
|