Pavani2704 commited on
Commit
313893f
1 Parent(s): 6110da3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from transformers import pipeline
4
  import PIL
5
  from PIL import Image
6
  import requests
 
7
 
8
  pipe = pipeline("summarization", model="google/pegasus-xsum")
9
  agepipe = pipeline("image-classification", model="dima806/facial_age_image_detection")
 
4
  import PIL
5
  from PIL import Image
6
  import requests
7
+ from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
8
 
9
  pipe = pipeline("summarization", model="google/pegasus-xsum")
10
  agepipe = pipeline("image-classification", model="dima806/facial_age_image_detection")