Spaces:
Runtime error
Runtime error
assistant
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def analyze_video(prompt, video):
|
|
90 |
os.remove(audio_path)
|
91 |
|
92 |
context = [
|
93 |
-
{"role": "
|
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 |
|