Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import os
|
|
| 7 |
# --- Constants for the API ---
|
| 8 |
API_URL = "https://predict.ultralytics.com"
|
| 9 |
# It's recommended to use Hugging Face secrets for API keys
|
| 10 |
-
API_KEY = os.environ.get("ULTRALYTICS_API_KEY"
|
| 11 |
MODEL_ID = "https://hub.ultralytics.com/models/RsLHnWMhiBPqy3iFZAgr"
|
| 12 |
|
| 13 |
def classify_image(image):
|
|
|
|
| 7 |
# --- Constants for the API ---
|
| 8 |
API_URL = "https://predict.ultralytics.com"
|
| 9 |
# It's recommended to use Hugging Face secrets for API keys
|
| 10 |
+
API_KEY = os.environ.get("ULTRALYTICS_API_KEY")
|
| 11 |
MODEL_ID = "https://hub.ultralytics.com/models/RsLHnWMhiBPqy3iFZAgr"
|
| 12 |
|
| 13 |
def classify_image(image):
|