Spaces:
Running
Running
update model to openai/clip-vit-base-patch32
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import time
|
|
10 |
from openai import OpenAI
|
11 |
|
12 |
# Constants
|
13 |
-
API_URL = "https://api-inference.huggingface.co/models/openai/clip-vit-
|
14 |
|
15 |
# Fetch the Hugging Face API token from environment variables
|
16 |
HF_API_TOKEN = os.getenv("HF_API_TOKEN")
|
|
|
10 |
from openai import OpenAI
|
11 |
|
12 |
# Constants
|
13 |
+
API_URL = "https://api-inference.huggingface.co/models/openai/clip-vit-base-patch32"
|
14 |
|
15 |
# Fetch the Hugging Face API token from environment variables
|
16 |
HF_API_TOKEN = os.getenv("HF_API_TOKEN")
|