Spaces:
Runtime error
Runtime error
gnharishkumar
commited on
Commit
•
3353a19
1
Parent(s):
126826c
add comment
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
|
|
|
|
4 |
pipe = pipeline("image-to-text",
|
5 |
model="Salesforce/blip-image-captioning-base")
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
# a pipeline for image captioning
|
5 |
+
|
6 |
pipe = pipeline("image-to-text",
|
7 |
model="Salesforce/blip-image-captioning-base")
|
8 |
|