Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def IMGEN():
|
|
82 |
key = data.get('key', '')
|
83 |
|
84 |
|
85 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
86 |
headers = {"Authorization": f"Bearer {key}"}
|
87 |
|
88 |
result = {
|
|
|
82 |
key = data.get('key', '')
|
83 |
|
84 |
|
85 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-2-1"
|
86 |
headers = {"Authorization": f"Bearer {key}"}
|
87 |
|
88 |
result = {
|