Zeph27 commited on
Commit
3acf5a0
Β·
1 Parent(s): 0c5455c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def analyze_video(prompt, video):
90
  os.remove(audio_path)
91
 
92
  context = [
93
- {"role": "system", "content": f"Transcription of the video: {transcription}"},
94
  {"role": "user", "content": [prompt] + encoded_video}
95
  ]
96
 
 
90
  os.remove(audio_path)
91
 
92
  context = [
93
+ {"role": "assistant", "content": f"Transcription of the video: {transcription}"},
94
  {"role": "user", "content": [prompt] + encoded_video}
95
  ]
96