sudhir2016 commited on
Commit
efb5d20
·
1 Parent(s): 15784aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -4,7 +4,6 @@ pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-pa
4
  def predict(photo,Label1,Label2,Label3):
5
  out1= pipe(images=photo,candidate_labels=[Label1,Label2,Label3])
6
  out2=out1[0]
7
- Demo.launch()
8
  out3=out2['label']
9
  return out3
10
  label1='Apple'
 
4
  def predict(photo,Label1,Label2,Label3):
5
  out1= pipe(images=photo,candidate_labels=[Label1,Label2,Label3])
6
  out2=out1[0]
 
7
  out3=out2['label']
8
  return out3
9
  label1='Apple'