adiv07 commited on
Commit
dbf5bd8
·
verified ·
1 Parent(s): 80627bf

Update Gpt4oDemo.py

Browse files
Files changed (1) hide show
  1. 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": f"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"
 
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"