24Sureshkumar commited on
Commit
1d769ec
·
verified ·
1 Parent(s): 5a6ca41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ else:
31
  print("✅ Hugging Face API key detected.")
32
 
33
  # Use Stable Diffusion Model for Image Generation
34
- IMAGE_GEN_URL = "https://api-inference.huggingface.co/models/prompthero/openjourney"
35
  HEADERS = {"Authorization": f"Bearer {HF_API_KEY}"}
36
 
37
  def translate_tamil_to_english(text):
 
31
  print("✅ Hugging Face API key detected.")
32
 
33
  # Use Stable Diffusion Model for Image Generation
34
+ IMAGE_GEN_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
35
  HEADERS = {"Authorization": f"Bearer {HF_API_KEY}"}
36
 
37
  def translate_tamil_to_english(text):