Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def transcribe(audio, text):
|
|
87 |
chat_transcript = ''
|
88 |
|
89 |
for tokens in subinput_tokens:
|
90 |
-
messages.append
|
91 |
# Decode the tokens into text
|
92 |
subinput_text = tokenizer.decode(tokens)
|
93 |
messages.append({"role": "user", "content": transcript["text"]+str(subinput_text)})
|
|
|
87 |
chat_transcript = ''
|
88 |
|
89 |
for tokens in subinput_tokens:
|
90 |
+
messages.append({"role": "user", "content": initmessage})
|
91 |
# Decode the tokens into text
|
92 |
subinput_text = tokenizer.decode(tokens)
|
93 |
messages.append({"role": "user", "content": transcript["text"]+str(subinput_text)})
|