son9john commited on
Commit
078b7ba
·
1 Parent(s): 8b4cd8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def transcribe(audio, text):
125
  # Add the system message to the beginning of the messages list
126
  messages_rev.insert(0, system_message)
127
  # Add the input text to the messages list
128
- messages_rev.insert(0, {"role": "user", "content": input_text + transcript["text"]})
129
 
130
  chat_transcript = f"\n\nNumber of tokens used: {num_tokens}\n\n"
131
 
 
125
  # Add the system message to the beginning of the messages list
126
  messages_rev.insert(0, system_message)
127
  # Add the input text to the messages list
128
+ messages_rev.insert(0, {"role": "user", "content": subinput_text + transcript["text"]})
129
 
130
  chat_transcript = f"\n\nNumber of tokens used: {num_tokens}\n\n"
131