Spaces:
Sleeping
Sleeping
divakaivan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def transcribe(audio):
|
|
26 |
def generate_response(text, api_key):
|
27 |
client = OpenAI(api_key=api_key)
|
28 |
response = client.chat.completions.create(
|
29 |
-
model='gpt-
|
30 |
messages=[{"role": "user", "content": text}]
|
31 |
)
|
32 |
|
|
|
26 |
def generate_response(text, api_key):
|
27 |
client = OpenAI(api_key=api_key)
|
28 |
response = client.chat.completions.create(
|
29 |
+
model='gpt-3.5-turbo-0125',
|
30 |
messages=[{"role": "user", "content": text}]
|
31 |
)
|
32 |
|