abdulsamad commited on
Commit
da8bab2
·
1 Parent(s): 3fdb0e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -25,13 +25,11 @@ def get_completion(raw_image):
25
 
26
 
27
  gr.close_all()
28
- description = "Made by : Abdul Samad"
29
  demo = gr.Interface(fn=get_completion,
30
- description=description,
31
  inputs=[gr.Image(label="Upload image", type="pil")],
32
  outputs=[gr.Textbox(label="Caption")],
33
  title="Image Captioning with BLIP",
34
- description="Caption any image using the BLIP model",
35
  allow_flagging="never",
36
  examples=["rottweiler_puppy_dog_background_4.jpg", "rottweiler_dog_wedding_dresses.jpg", "cheetah_animal_predator_525169.jpg",
37
  "woman_cheetah_animal_human.jpg","man_stands_near_wild.jpg","calidris_alba_bird_nature.jpg"]
 
25
 
26
 
27
  gr.close_all()
 
28
  demo = gr.Interface(fn=get_completion,
 
29
  inputs=[gr.Image(label="Upload image", type="pil")],
30
  outputs=[gr.Textbox(label="Caption")],
31
  title="Image Captioning with BLIP",
32
+ description="Caption any image using the BLIP model, Made by Abdul Samad",
33
  allow_flagging="never",
34
  examples=["rottweiler_puppy_dog_background_4.jpg", "rottweiler_dog_wedding_dresses.jpg", "cheetah_animal_predator_525169.jpg",
35
  "woman_cheetah_animal_human.jpg","man_stands_near_wild.jpg","calidris_alba_bird_nature.jpg"]