Update app.py
Browse files
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']
|