Spaces:
Running
Running
Update app.py
Browse files
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")
|