springwater commited on
Commit
a37c688
·
verified ·
1 Parent(s): c358952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def get_transcript(urls):
25
  # Function to summarize text using OpenAI's API
26
  def summarize_text(contents):
27
  response = openai.ChatCompletion.create(
28
- model="gpt-3.5-turbo", # Corrected engine identifier
29
  messages=[
30
  {"role": "system", "content": "You are a helpful assistant."},
31
  {"role": "user", "content": f"Summarize this: {contents}"}
 
25
  # Function to summarize text using OpenAI's API
26
  def summarize_text(contents):
27
  response = openai.ChatCompletion.create(
28
+ model="gpt-4-turbo-preview", # Corrected engine identifier
29
  messages=[
30
  {"role": "system", "content": "You are a helpful assistant."},
31
  {"role": "user", "content": f"Summarize this: {contents}"}