hadxu commited on
Commit
7e6eec7
1 Parent(s): ffba281

add summary

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def download_audio(url):
39
  return transcription
40
 
41
  def summarize_text():
42
- prompt = f"Please summarize the following article in 5 sentences or less: [{text}]"
43
  print(prompt)
44
  message = claude_client.messages.create(
45
  model="claude-3-haiku-20240307",
 
39
  return transcription
40
 
41
  def summarize_text():
42
+ prompt = f"Please summarize the following article in 5 sentences or less use the language of the audio: [{text}]"
43
  print(prompt)
44
  message = claude_client.messages.create(
45
  model="claude-3-haiku-20240307",