vsrinivas commited on
Commit
90f40d0
·
1 Parent(s): ebf4343

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -3,10 +3,6 @@ import gradio as gr
3
  from transformers import pipeline
4
 
5
  get_completion = pipeline("image-to-text",model="Salesforce/blip-image-captioning-base")
6
-
7
- # def summarize(input):
8
- # output = get_completion(input)
9
- # return output[0]['generated_text']
10
 
11
  def captioner(image):
12
  result = get_completion(image)
 
3
  from transformers import pipeline
4
 
5
  get_completion = pipeline("image-to-text",model="Salesforce/blip-image-captioning-base")
 
 
 
 
6
 
7
  def captioner(image):
8
  result = get_completion(image)