Spaces:
Runtime error
Runtime error
# -*- coding: utf-8 -*- | |
"""app.ipynb | |
Automatically generated by Colaboratory. | |
Original file is located at | |
https://colab.research.google.com/drive/1bXYJd-Dtj9a5gFAvEQDojckzYpN0pcRX | |
""" | |
from transformers import pipeline | |
question = pipeline("visual-question-answering") | |
question("cat.png", "how many cat are there?") |