Spaces:
Sleeping
Sleeping
commit
#2
by
Meetnote-Support
- opened
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def transcribe_and_respond(audio_file):
|
|
| 22 |
print(f"Audio dtype: {audio.dtype}, Audio shape: {audio.shape}, Sample rate: {sr}")
|
| 23 |
|
| 24 |
turns = [
|
| 25 |
-
{'role': 'system', 'content': '
|
| 26 |
{'role': 'user', 'content': '<|audio|>'}
|
| 27 |
]
|
| 28 |
|
|
|
|
| 22 |
print(f"Audio dtype: {audio.dtype}, Audio shape: {audio.shape}, Sample rate: {sr}")
|
| 23 |
|
| 24 |
turns = [
|
| 25 |
+
{'role': 'system', 'content': 'You are a transcription agent. What ever the speaker has spoken should be outputted as text. Nothing less, nothing more.'},
|
| 26 |
{'role': 'user', 'content': '<|audio|>'}
|
| 27 |
]
|
| 28 |
|