JBDef commited on
Commit
9aebf92
1 Parent(s): 6a957e8

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """app.ipynb
3
+
4
+ Automatically generated by Colaboratory.
5
+
6
+ Original file is located at
7
+ https://colab.research.google.com/drive/1bXYJd-Dtj9a5gFAvEQDojckzYpN0pcRX
8
+ """
9
+
10
+ from transformers import pipeline
11
+
12
+ question = pipeline("visual-question-answering")
13
+
14
+ question("cat.png", "how many cat are there?")