jiuuee commited on
Commit
b35863e
1 Parent(s): a031984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -93,8 +93,7 @@ def transcribe(audio_filepath):
93
 
94
  # Function to generate text using LLM
95
  def generate_text(input_text):
96
- messages=[{"role": "user", "content": input_text},
97
- ]
98
  generation_args = {
99
  "max_new_tokens": 200,
100
  "return_full_text": True,
 
93
 
94
  # Function to generate text using LLM
95
  def generate_text(input_text):
96
+ messages=input_text
 
97
  generation_args = {
98
  "max_new_tokens": 200,
99
  "return_full_text": True,