Spaces:
Running
Running
add summary
Browse files
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",
|