Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding prompts so the notebook works.
Browse files Browse the repository at this point in the history
Giom-V committed Dec 18, 2024
1 parent 57c7208 commit bbf0a0c
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/Analyze_a_Video_Historic_Event_Recognition.ipynb
Original file line number Diff line number Diff line change
@@ -268,7 +268,7 @@
"source": [
"model = genai.GenerativeModel(model_name=\"models/gemini-1.5-flash\", safety_settings=safety_settings,\n",
" system_instruction=system_prompt)\n",
"response = model.generate_content([video_file])\n",
"response = model.generate_content([\"Analyze that video please\",video_file])\n",
"print(response.text)"
]
},
2 changes: 1 addition & 1 deletion examples/Analyze_a_Video_Summarization.ipynb
Original file line number Diff line number Diff line change
@@ -269,7 +269,7 @@
],
"source": [
"model = genai.GenerativeModel(model_name=\"models/gemini-1.5-flash\", system_instruction=system_prompt)\n",
"response = model.generate_content([video_file])\n",
"response = model.generate_content([\"Summarise that video please.\",video_file])\n",
"print(response.text)"
]
},

0 comments on commit bbf0a0c

Please sign in to comment.