geethareddy commited on
Commit
5e19a63
·
verified ·
1 Parent(s): 1f31715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ if not HUGGINGFACE_API_KEY:
19
  # Define the Hugging Face Inference API URL for a text-to-image model
20
  # You can choose a different model if preferred
21
  MODEL_NAME = "stabilityai/stable-diffusion-2-1" # Ensure this model is available for your API key
22
- API_URL = f"https://api-inference.huggingface.co/models/{MODEL_NAME}"
23
 
24
  headers = {
25
  "Authorization": f"Bearer {HUGGINGFACE_API_KEY}"
 
19
  # Define the Hugging Face Inference API URL for a text-to-image model
20
  # You can choose a different model if preferred
21
  MODEL_NAME = "stabilityai/stable-diffusion-2-1" # Ensure this model is available for your API key
22
+ API_URL = f"https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
23
 
24
  headers = {
25
  "Authorization": f"Bearer {HUGGINGFACE_API_KEY}"