Araeynn commited on
Commit
93b5ece
·
verified ·
1 Parent(s): e663b6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ client = AsyncInferenceClient()
5
 
6
  def image_classifier(inp):
7
  class_names = ["0", "1"]
8
- inp.save("why.png")
9
  sunflower_path = "why.png"
10
  r = asyncio.run(client.zero_shot_image_classification("why.png", labels=["mouth", "other"]))
11
  c = {}
 
5
 
6
  def image_classifier(inp):
7
  class_names = ["0", "1"]
8
+ inp.save("why.png")
9
  sunflower_path = "why.png"
10
  r = asyncio.run(client.zero_shot_image_classification("why.png", labels=["mouth", "other"]))
11
  c = {}