Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ from dotenv import load_dotenv
|
|
10 |
# Load environment variables from .env file
|
11 |
load_dotenv()
|
12 |
|
13 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
|
|
14 |
headers = os.getenv("SEECRET_TOKEN")
|
15 |
|
16 |
def generate_image(prompt):
|
|
|
10 |
# Load environment variables from .env file
|
11 |
load_dotenv()
|
12 |
|
13 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
14 |
+
|
15 |
headers = os.getenv("SEECRET_TOKEN")
|
16 |
|
17 |
def generate_image(prompt):
|