Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def stream_openrouter(q: str):
|
|
| 36 |
try:
|
| 37 |
with httpx.Client(timeout=30.0) as client:
|
| 38 |
with client.stream("POST",
|
| 39 |
-
"https://
|
| 40 |
headers=_headers(),
|
| 41 |
json=_payload(q)) as response:
|
| 42 |
|
|
|
|
| 36 |
try:
|
| 37 |
with httpx.Client(timeout=30.0) as client:
|
| 38 |
with client.stream("POST",
|
| 39 |
+
"https://api.groq.com/openai/v1/chat/completions",
|
| 40 |
headers=_headers(),
|
| 41 |
json=_payload(q)) as response:
|
| 42 |
|