Amitontheweb commited on
Commit
8482086
·
verified ·
1 Parent(s): 4d11ae8

Update app.py

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