Pro-Coder commited on
Commit
b230904
·
verified ·
1 Parent(s): 2fd84ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -28,6 +28,7 @@ from transformers import pipeline
28
  # Config — override any of these via Space "Variables and secrets"
29
  # ---------------------------------------------------------------------------
30
  IMAGE_MODEL_ID = os.environ.get("IMAGE_MODEL_ID", "Anwarkh1/Skin_Cancer-Image_Classification")
 
31
  # Hugging Face retired the old api-inference.huggingface.co Serverless API in
32
  # favor of the "Inference Providers" router (OpenAI-compatible). Any chat
33
  # model listed at https://huggingface.co/models?inference_provider=hf-inference
 
28
  # Config — override any of these via Space "Variables and secrets"
29
  # ---------------------------------------------------------------------------
30
  IMAGE_MODEL_ID = os.environ.get("IMAGE_MODEL_ID", "Anwarkh1/Skin_Cancer-Image_Classification")
31
+ #IMAGE_MODEL_ID = os.environ.get("IMAGE_MODEL_ID", "Pro-Coder/Skin_Cancer-Image_Classification")
32
  # Hugging Face retired the old api-inference.huggingface.co Serverless API in
33
  # favor of the "Inference Providers" router (OpenAI-compatible). Any chat
34
  # model listed at https://huggingface.co/models?inference_provider=hf-inference