archit11 commited on
Commit
fa48096
·
verified ·
1 Parent(s): 2ba8923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)