Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def ai_ans(input_text, prompt):
|
|
| 28 |
response = requests.post(
|
| 29 |
url="https://api.aimlapi.com/chat/completions",
|
| 30 |
headers={
|
| 31 |
-
"Authorization": "Bearer
|
| 32 |
"Content-Type": "application/json",
|
| 33 |
},
|
| 34 |
data=json.dumps(
|
|
|
|
| 28 |
response = requests.post(
|
| 29 |
url="https://api.aimlapi.com/chat/completions",
|
| 30 |
headers={
|
| 31 |
+
"Authorization": "Bearer 6cb41c23403144868c5befe28e649fc4",
|
| 32 |
"Content-Type": "application/json",
|
| 33 |
},
|
| 34 |
data=json.dumps(
|