Spaces:
Runtime error
Runtime error
Update functions.py
Browse files- functions.py +2 -2
functions.py
CHANGED
|
@@ -113,8 +113,8 @@ def get_podcast_summary(podcast_transcript):
|
|
| 113 |
|
| 114 |
request = instructPrompt + podcast_transcript
|
| 115 |
|
| 116 |
-
chatOutput = client.chat.completions.create(model="gpt-4-turbo",
|
| 117 |
-
messages=[{"role": "system", "content": "You are a helpful assistant
|
| 118 |
{"role": "user", "content": request}
|
| 119 |
]
|
| 120 |
)
|
|
|
|
| 113 |
|
| 114 |
request = instructPrompt + podcast_transcript
|
| 115 |
|
| 116 |
+
chatOutput = client.chat.completions.create(model="gpt-4-turbo-preview",
|
| 117 |
+
messages=[{"role": "system", "content": "You are a helpful podcast analyzer assistant"},
|
| 118 |
{"role": "user", "content": request}
|
| 119 |
]
|
| 120 |
)
|