Spaces:
Sleeping
Sleeping
Kvikontent
commited on
Commit
•
f1af9e9
1
Parent(s):
357bfd3
Update app.py
Browse files
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/
|
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})
|