Ricky01anjay commited on
Commit
e6d238c
·
verified ·
1 Parent(s): bb53e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,9 +143,9 @@ def process_video_job(job_id):
143
  time.sleep(2)
144
  video_file = genai.get_file(video_file.name)
145
 
146
- # 2. Instruksi Gemini 2.0 Flash
147
  JOBS[job_id].update({"message": "Gemini sedang menonton video...", "progress": 40})
148
- model = genai.GenerativeModel(model_name="gemini-2.0-flash")
149
 
150
  prompt = """Analyze this video. Identify the most engaging/viral segments.
151
  Total combined duration must be less than 60 seconds.
 
143
  time.sleep(2)
144
  video_file = genai.get_file(video_file.name)
145
 
146
+ # 2. Instruksi Gemini 1.5 Flash
147
  JOBS[job_id].update({"message": "Gemini sedang menonton video...", "progress": 40})
148
+ model = genai.GenerativeModel(model_name="gemini-1.5-flash")
149
 
150
  prompt = """Analyze this video. Identify the most engaging/viral segments.
151
  Total combined duration must be less than 60 seconds.