Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,8 @@ import streamlit as st
|
|
73 |
genai.configure(api_key="AIzaSyBTt66oOvxpLeYn41sR-KkjSYPK2vOAqkU")
|
74 |
|
75 |
# Define the model
|
76 |
-
model = genai.GenerativeModel("gemini-pro")
|
|
|
77 |
|
78 |
# Directory containing uploaded videos
|
79 |
VIDEO_DIR = "videos"
|
|
|
73 |
genai.configure(api_key="AIzaSyBTt66oOvxpLeYn41sR-KkjSYPK2vOAqkU")
|
74 |
|
75 |
# Define the model
|
76 |
+
model = genai.GenerativeModel(model_name="models/gemini-1.5-pro")
|
77 |
+
|
78 |
|
79 |
# Directory containing uploaded videos
|
80 |
VIDEO_DIR = "videos"
|