Jyothirmai commited on
Commit
9511ac2
·
verified ·
1 Parent(s): 478c334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -31,18 +31,16 @@ with gr.Blocks() as demo:
31
 
32
 
33
  with gr.Row():
34
- sample_images = [
 
 
 
35
  "https://imgur.com/W1pIr9b",
36
  'https://imgur.com/MLJaWnf',
37
  'https://imgur.com/6XymFW1',
38
  'https://imgur.com/zdPjZZ1',
39
- 'https://imgur.com/DKUlZbF'
40
- ]
41
-
42
-
43
- image = gr.Image(label="Upload Chest X-ray", type="pil")
44
-
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
 
 
31
 
32
 
33
  with gr.Row():
34
+
35
+ image = gr.Image(label="Upload Chest X-ray", type="pil")
36
+
37
+ sample_images_gallery = gr.Gallery(value = [
38
  "https://imgur.com/W1pIr9b",
39
  'https://imgur.com/MLJaWnf',
40
  'https://imgur.com/6XymFW1',
41
  'https://imgur.com/zdPjZZ1',
42
+ 'https://imgur.com/DKUlZbF']
43
+ , label="Sample Images", columns = 5)
 
 
 
 
 
44
 
45
  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>")
46