Jyothirmai commited on
Commit
9afb73f
1 Parent(s): 897dd2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,14 +45,14 @@ with gr.Blocks() as demo:
45
  sample_images_gallery = gr.Gallery(value = sample_images,label="Sample Images")
46
 
47
  gr.HTML("<p style='text-align: center;'> Please select the Number of Max Tokens and Temperature setting, if you are testing CLIP GPT2 and VIT GPT2 Models</p>")
48
-
 
49
  with gr.Row():
 
50
  with gr.Column(): # Column for dropdowns and model choice
51
  max_tokens = gr.Dropdown(list(range(50, 101)), label="Max Tokens", value=75)
52
  temperature = gr.Slider(0.5, 0.9, step=0.1, label="Temperature", value=0.7)
53
- model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention"], label="Select Model")
54
 
55
- with gr.Row():
56
  model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention"], label="Select Model")
57
 
58
  generate_button = gr.Button("Generate Caption")
 
45
  sample_images_gallery = gr.Gallery(value = sample_images,label="Sample Images")
46
 
47
  gr.HTML("<p style='text-align: center;'> Please select the Number of Max Tokens and Temperature setting, if you are testing CLIP GPT2 and VIT GPT2 Models</p>")
48
+
49
+
50
  with gr.Row():
51
+
52
  with gr.Column(): # Column for dropdowns and model choice
53
  max_tokens = gr.Dropdown(list(range(50, 101)), label="Max Tokens", value=75)
54
  temperature = gr.Slider(0.5, 0.9, step=0.1, label="Temperature", value=0.7)
 
55
 
 
56
  model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention"], label="Select Model")
57
 
58
  generate_button = gr.Button("Generate Caption")