Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ HF_COMMUNITY_PROMPT_FILE_IN_REPO = "community_prompts.jsonl" # Target file name
|
|
22 |
# Configure OpenAI client for Pollinations.ai
|
23 |
client = openai.OpenAI(
|
24 |
base_url="https://text.pollinations.ai/openai",
|
25 |
-
api_key="
|
26 |
)
|
27 |
|
28 |
# Define ALL available models from https://text.pollinations.ai/models
|
|
|
22 |
# Configure OpenAI client for Pollinations.ai
|
23 |
client = openai.OpenAI(
|
24 |
base_url="https://text.pollinations.ai/openai",
|
25 |
+
api_key=os.environ.get("TOKEN") # Pollinations.ai doesn't require an API key
|
26 |
)
|
27 |
|
28 |
# Define ALL available models from https://text.pollinations.ai/models
|