Carlexx commited on
Commit
bb7f5b0
Β·
verified Β·
1 Parent(s): 9dd5e68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -203,7 +203,7 @@ def get_single_motion_prompt(user_prompt: str, story_history: str, start_image_p
203
  if not GEMINI_API_KEY: raise gr.Error("Chave da API Gemini nΓ£o configurada!")
204
  try:
205
  genai.configure(api_key=GEMINI_API_KEY)
206
- model = genai.GenerativeModel('gemini-2.p0-flash')
207
  start_img, middle_img, end_img = Image.open(start_image_path), Image.open(middle_image_path), Image.open(end_image_path)
208
  prompt_file_path = os.path.join(os.path.dirname(__file__), "prompts", "director_motion_prompt_three_act.txt")
209
  with open(prompt_file_path, "r", encoding="utf-8") as f:
 
203
  if not GEMINI_API_KEY: raise gr.Error("Chave da API Gemini nΓ£o configurada!")
204
  try:
205
  genai.configure(api_key=GEMINI_API_KEY)
206
+ model = genai.GenerativeModel('gemini-2.0-flash')
207
  start_img, middle_img, end_img = Image.open(start_image_path), Image.open(middle_image_path), Image.open(end_image_path)
208
  prompt_file_path = os.path.join(os.path.dirname(__file__), "prompts", "director_motion_prompt_three_act.txt")
209
  with open(prompt_file_path, "r", encoding="utf-8") as f: