miaohaiyuan commited on
Commit
beb12b7
1 Parent(s): 5efbd40
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -171,7 +171,7 @@ def generate_section(transcript: str, existing_notes: str, section: str, model:
171
  messages=[
172
  {
173
  "role": "system",
174
- "content": "Respond in language [{lang}]. You are an expert writer. Generate a comprehensive note for the section provided based factually on the transcript provided. Do *not* repeat any content from previous sections."
175
  },
176
  {
177
  "role": "user",
 
171
  messages=[
172
  {
173
  "role": "system",
174
+ "content": f"Respond in language [{lang}]. You are an expert writer. Generate a comprehensive note for the section provided based factually on the transcript provided. Do *not* repeat any content from previous sections."
175
  },
176
  {
177
  "role": "user",
requirements.txt CHANGED
@@ -9,3 +9,4 @@ python-dotenv==1.0.1
9
  tiktoken==0.5.2
10
  whisperx==3.1.1
11
  yt_dlp==2024.5.27
 
 
9
  tiktoken==0.5.2
10
  whisperx==3.1.1
11
  yt_dlp==2024.5.27
12
+ websockets==11.0.3