Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
pipe = pipeline("image-to-text",
|
6 |
-
model="
|
7 |
def launch(input):
|
8 |
out = pipe(input)
|
9 |
return out[0]['generated_text']
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
pipe = pipeline("image-to-text",
|
6 |
+
model="Salesforce/blip-image-captioning-base")
|
7 |
def launch(input):
|
8 |
out = pipe(input)
|
9 |
return out[0]['generated_text']
|