Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import asyncio
|
|
3 |
from huggingface_hub import AsyncInferenceClient
|
4 |
import os
|
5 |
hf = os.getenv("HF")
|
6 |
-
client = AsyncInferenceClient("google/siglip-
|
7 |
|
8 |
def image_classifier(inp):
|
9 |
class_names = ["0", "1"]
|
|
|
3 |
from huggingface_hub import AsyncInferenceClient
|
4 |
import os
|
5 |
hf = os.getenv("HF")
|
6 |
+
client = AsyncInferenceClient("google/siglip-base-patch16-224", token=hf)
|
7 |
|
8 |
def image_classifier(inp):
|
9 |
class_names = ["0", "1"]
|