helvekami commited on
Commit
8a52d70
·
verified ·
1 Parent(s): 0743662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def transcribe_and_respond(audio_file):
30
  print(f"Initial turns: {turns}")
31
 
32
  # Call the model with the audio and prompt
33
- output = pipe({'audio': audio, 'turns': turns, 'sampling_rate': sr}, max_new_tokens=10000)
34
 
35
  # Debug: Print the final output from the model
36
  print(f"Model output: {output}")
 
30
  print(f"Initial turns: {turns}")
31
 
32
  # Call the model with the audio and prompt
33
+ output = pipe({'audio': audio, 'turns': turns, 'sampling_rate': sr}, max_new_tokens=1000)
34
 
35
  # Debug: Print the final output from the model
36
  print(f"Model output: {output}")