Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ def call_gemini_for_edl(transcript_data, story_prompt, api_key):
|
|
| 296 |
st.error("Gemini API Key is missing.")
|
| 297 |
return None
|
| 298 |
|
| 299 |
-
url = f"https://generativelanguage.googleapis.com/
|
| 300 |
|
| 301 |
system_prompt = (
|
| 302 |
"You are an expert Documentary Senior Editor. Use the provided transcript JSON "
|
|
|
|
| 296 |
st.error("Gemini API Key is missing.")
|
| 297 |
return None
|
| 298 |
|
| 299 |
+
url = f"https://generativelanguage.googleapis.com/v1/models/gemini-2.5-pro:generateContent?key={api_key}"
|
| 300 |
|
| 301 |
system_prompt = (
|
| 302 |
"You are an expert Documentary Senior Editor. Use the provided transcript JSON "
|