geethareddy commited on
Commit
3e7330f
·
verified ·
1 Parent(s): 699b650

Update app.py

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