son9john commited on
Commit
3921038
·
1 Parent(s): da56d17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def transcribe(audio, text):
73
  # Add the input tokens to the messages list
74
  input_text = tokenizer.decode(input_tokens)
75
 
76
- messages.append({"role": "user", "content": transcript["text"]+input_text})
77
 
78
  # Check if the accumulated tokens have exceeded the limit
79
  num_tokens = num_tokens_from_messages(messages)
 
73
  # Add the input tokens to the messages list
74
  input_text = tokenizer.decode(input_tokens)
75
 
76
+ messages.append({"role": "user", "content": transcript["text"] + input_text})
77
 
78
  # Check if the accumulated tokens have exceeded the limit
79
  num_tokens = num_tokens_from_messages(messages)