Update app.py
Browse files
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=
|
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}")
|