charan1102 commited on
Commit
9e0c87c
·
verified ·
1 Parent(s): 7d40f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,7 +42,7 @@ demo = gr.Blocks(css=css)
42
 
43
  with demo:
44
  gr.Markdown('''<h1 id="title">Automated Image Captioning Using Generative AI: A Transformer based approach 🖼️</h1>''')
45
- gr.Markdown('Contributed by : Premanth Alahari, Charan Gudivada')
46
 
47
  with gr.Column():
48
  input_image = gr.Image(label="Upload your Image", type='pil')
@@ -50,7 +50,8 @@ with demo:
50
 
51
  btn = gr.Button("Generate Caption")
52
  btn.click(fn=predict, inputs=input_image, outputs=output_caption)
53
- with demo:
 
54
  gr.Markdown('''<h1 id="title">Features:</h1>''')
55
  gr.Markdown("1. Drop the Image Here or Click on Upload", "2. Click to Access Webcam", "3. Paste from Clipboard")
56
  demo.launch()
 
42
 
43
  with demo:
44
  gr.Markdown('''<h1 id="title">Automated Image Captioning Using Generative AI: A Transformer based approach 🖼️</h1>''')
45
+ gr.Markdown('Contributed by : Charan Gudivada, Premanth Alahari')
46
 
47
  with gr.Column():
48
  input_image = gr.Image(label="Upload your Image", type='pil')
 
50
 
51
  btn = gr.Button("Generate Caption")
52
  btn.click(fn=predict, inputs=input_image, outputs=output_caption)
53
+
54
+ with demo:
55
  gr.Markdown('''<h1 id="title">Features:</h1>''')
56
  gr.Markdown("1. Drop the Image Here or Click on Upload", "2. Click to Access Webcam", "3. Paste from Clipboard")
57
  demo.launch()