Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def transcribe_and_respond(audio_file):
|
|
18 |
|
19 |
turns = [
|
20 |
{'role': 'system', 'content': 'Respond naturally and informatively.'},
|
21 |
-
{'role': 'user', 'content': ''}
|
22 |
]
|
23 |
|
24 |
output = pipe({'audio': audio, 'turns': turns, 'sampling_rate': sr}, max_new_tokens=512)
|
|
|
18 |
|
19 |
turns = [
|
20 |
{'role': 'system', 'content': 'Respond naturally and informatively.'},
|
21 |
+
{'role': 'user', 'content': '<|audio|>'}
|
22 |
]
|
23 |
|
24 |
output = pipe({'audio': audio, 'turns': turns, 'sampling_rate': sr}, max_new_tokens=512)
|