Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ def call_gemini_for_edl(transcript_data, story_prompt, api_key):
|
|
| 257 |
st.error("Gemini API Key is missing.")
|
| 258 |
return None
|
| 259 |
|
| 260 |
-
url = f"https://generativelanguage.googleapis.com/
|
| 261 |
|
| 262 |
system_prompt = (
|
| 263 |
"You are an expert Documentary Senior Editor. Use the provided transcript JSON "
|
|
|
|
| 257 |
st.error("Gemini API Key is missing.")
|
| 258 |
return None
|
| 259 |
|
| 260 |
+
url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent?key={api_key}"
|
| 261 |
|
| 262 |
system_prompt = (
|
| 263 |
"You are an expert Documentary Senior Editor. Use the provided transcript JSON "
|