Jyothirmai commited on
Commit
c0b0361
β€’
1 Parent(s): fc6f52f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -19,17 +19,18 @@ def generate_caption_clipgpt(image):
19
 
20
  with gr.Blocks() as demo:
21
 
22
- sample_images = [
 
 
 
 
 
23
  "CXR191_IM-0591-1001.png",
24
  "CXR192_IM-0598-1001.png",
25
  "CXR193_IM-0601-1001.png",
26
  "CXR194_IM-0609-1001.png",
27
  "CXR195_IM-0618-1001.png"
28
  ]
29
- gr.HTML("<h1 style='text-align: center;'>MedViT: A Vision Transformer-Driven Method for Generating Medical Reports πŸ₯πŸ€–</h1>")
30
- gr.HTML("<p style='text-align: center;'>You can generate captions by uploading an X-Ray and selecting a model of your choice below</p>")
31
-
32
- with gr.Row():
33
  image = gr.Image(label="Upload Chest X-ray")
34
  sample_images_gallery = gr.Gallery(
35
  value = sample_images,
 
19
 
20
  with gr.Blocks() as demo:
21
 
22
+
23
+ gr.HTML("<h1 style='text-align: center;'>MedViT: A Vision Transformer-Driven Method for Generating Medical Reports πŸ₯πŸ€–</h1>")
24
+ gr.HTML("<p style='text-align: center;'>You can generate captions by uploading an X-Ray and selecting a model of your choice below</p>")
25
+
26
+ with gr.Row():
27
+ sample_images = [
28
  "CXR191_IM-0591-1001.png",
29
  "CXR192_IM-0598-1001.png",
30
  "CXR193_IM-0601-1001.png",
31
  "CXR194_IM-0609-1001.png",
32
  "CXR195_IM-0618-1001.png"
33
  ]
 
 
 
 
34
  image = gr.Image(label="Upload Chest X-ray")
35
  sample_images_gallery = gr.Gallery(
36
  value = sample_images,