NoorAhmadHaral commited on
Commit
ab7a459
·
verified ·
1 Parent(s): 4995175

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from transformers import pipeline
5
  pipe = pipeline("image-to-text",
6
  model="./models/Salesforce/blip-image-captioning-base")
7
 
 
8
  def launch(input):
9
  out = pipe(input)
10
  return out[0]['generated_text']
 
5
  pipe = pipeline("image-to-text",
6
  model="./models/Salesforce/blip-image-captioning-base")
7
 
8
+
9
  def launch(input):
10
  out = pipe(input)
11
  return out[0]['generated_text']