springwater commited on
Commit
9ea458e
·
verified ·
1 Parent(s): cc5f787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def get_transcript(urls):
24
 
25
  # Function to summarize text using OpenAI's API
26
  def summarize_text(contents):
27
- response = openai.Completion.create(
28
  engine="gpt-3.5-turbo-0125",
29
  prompt=f"요약: {contents}",
30
  max_tokens=150
 
24
 
25
  # Function to summarize text using OpenAI's API
26
  def summarize_text(contents):
27
+ response = openai.ChatCompletion.create(
28
  engine="gpt-3.5-turbo-0125",
29
  prompt=f"요약: {contents}",
30
  max_tokens=150