candenizkocak commited on
Commit
898609b
·
verified ·
1 Parent(s): d235be4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", "a6684f3c4a050ec709948f66db7a391633a2064fe7")
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):