Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import os
|
|
| 5 |
import time
|
| 6 |
|
| 7 |
# Get your Hugging Face access token from the secrets
|
| 8 |
-
HUGGING_FACE_API_KEY = os.getenv("
|
| 9 |
|
| 10 |
def generate_images_from_text(text):
|
| 11 |
# Generate an image using Hugging Face's API
|
|
|
|
| 5 |
import time
|
| 6 |
|
| 7 |
# Get your Hugging Face access token from the secrets
|
| 8 |
+
HUGGING_FACE_API_KEY = os.getenv("onteddu") # Ensure your access token is properly set
|
| 9 |
|
| 10 |
def generate_images_from_text(text):
|
| 11 |
# Generate an image using Hugging Face's API
|