Update Gpt4oDemo.py
Browse files- Gpt4oDemo.py +1 -1
Gpt4oDemo.py
CHANGED
@@ -173,7 +173,7 @@ def handle_video(video=None):
|
|
173 |
if transcript:
|
174 |
chat_history[-1]['content'].append({
|
175 |
"type": "text",
|
176 |
-
"text":
|
177 |
"Speaker: <the speaker of the dialogue>\n"
|
178 |
"Dialogue: <the text of the dialogue>\n"
|
179 |
"start: <the starting timestamp of the dialogue in the video in second>\n"
|
|
|
173 |
if transcript:
|
174 |
chat_history[-1]['content'].append({
|
175 |
"type": "text",
|
176 |
+
"text": "Also, below is the template of transcript from the video:\n"
|
177 |
"Speaker: <the speaker of the dialogue>\n"
|
178 |
"Dialogue: <the text of the dialogue>\n"
|
179 |
"start: <the starting timestamp of the dialogue in the video in second>\n"
|