Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,8 @@ def translate_transcript(transcript):
|
|
| 52 |
messages = [
|
| 53 |
{
|
| 54 |
"role": "user",
|
| 55 |
-
"content": f"Translate the following Spanish text to professional English
|
|
|
|
| 56 |
}
|
| 57 |
]
|
| 58 |
)
|
|
|
|
| 52 |
messages = [
|
| 53 |
{
|
| 54 |
"role": "user",
|
| 55 |
+
"content": f"""Translate the following Spanish text to professional English.
|
| 56 |
+
Only return the translation, nothing else. Do not provide any commentary afterward.\n\n{transcript}"""
|
| 57 |
}
|
| 58 |
]
|
| 59 |
)
|