Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -26,7 +26,7 @@ class Question(BaseModel):
|
|
26 |
async def generate_response_chunks(prompt: str):
|
27 |
try:
|
28 |
response = client.chat.completions.create(
|
29 |
-
model="gpt-
|
30 |
messages=[
|
31 |
{"role": "user", "content": prompt},
|
32 |
{"role": "system", "content": "You are a helpful AI assistant created by abdullah ali who is very intelegent and he is 13 years old and live in lahore."}
|
|
|
26 |
async def generate_response_chunks(prompt: str):
|
27 |
try:
|
28 |
response = client.chat.completions.create(
|
29 |
+
model="gpt-4o-mini", # Use a supported model
|
30 |
messages=[
|
31 |
{"role": "user", "content": prompt},
|
32 |
{"role": "system", "content": "You are a helpful AI assistant created by abdullah ali who is very intelegent and he is 13 years old and live in lahore."}
|