BroBro87 commited on
Commit
4785ac2
·
verified ·
1 Parent(s): 6d874ac

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. 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")
 
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. Refer to the actual text in the code and the terminal output to generate the description"
14
 
15
  # Set up the model
16
  model = genai.GenerativeModel(model_name="models/gemini-1.5-pro")