Kvikontent commited on
Commit
f1af9e9
1 Parent(s): 357bfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate_qr_image(url, image_size):
29
 
30
  # Function to query the image from the Hugging Face API
31
  def query_image(text):
32
- API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/realistic-vision-v51"
33
  headers = {"Authorization": f"Bearer {hf_token}"}
34
 
35
  response = requests.post(API_URL, headers=headers, json={"inputs": text})
 
29
 
30
  # Function to query the image from the Hugging Face API
31
  def query_image(text):
32
+ API_URL = "https://api-inference.huggingface.co/models/goofyai/3d_render_style_xl"
33
  headers = {"Authorization": f"Bearer {hf_token}"}
34
 
35
  response = requests.post(API_URL, headers=headers, json={"inputs": text})