BroBro87 commited on
Commit
6d874ac
·
verified ·
1 Parent(s): 89d1cd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def summarize_video(video_path):
10
  try:
11
  # Since Gradio passes the path as a string, we can use it directly
12
  # Create the prompt
13
- prompt = "Based on what is happening in the video generate a transcript that could be used for a voiceover"
14
 
15
  # Set up the model
16
  model = genai.GenerativeModel(model_name="models/gemini-1.5-pro")
 
10
  try:
11
  # Since Gradio passes the path as a string, we can use it directly
12
  # Create the prompt
13
+ prompt = "Based on what is happening in the video generate a transcript that could be used for a voiceover. It;s a tutorial video so generate it accordingly to what is happening in the video."
14
 
15
  # Set up the model
16
  model = genai.GenerativeModel(model_name="models/gemini-1.5-pro")