Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import requests
|
| 3 |
import os
|
| 4 |
|
| 5 |
-
API_KEY = os.getenv("
|
| 6 |
API_URL = "https://api.aimlapi.com/v1/chat/completions"
|
| 7 |
SYSTEM_PROMPT = (
|
| 8 |
"You are a highly knowledgeable and friendly veterinary assistant AI. "
|
|
|
|
| 2 |
import requests
|
| 3 |
import os
|
| 4 |
|
| 5 |
+
API_KEY = os.getenv("AIML_API_KEY") or "your_aimlapi_key_here"
|
| 6 |
API_URL = "https://api.aimlapi.com/v1/chat/completions"
|
| 7 |
SYSTEM_PROMPT = (
|
| 8 |
"You are a highly knowledgeable and friendly veterinary assistant AI. "
|