hamada056 commited on
Commit
f5f7c24
·
verified ·
1 Parent(s): 4bb6b1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import os
2
  import time
3
  from typing import List, Tuple, Optional
4
  import google.generativeai as genai
@@ -13,7 +13,7 @@ IMAGE_WIDTH = 512
13
  IMAGE_WIDTH = 512
14
 
15
  system_instruction_analysis = "You are an expert of the given topic. Analyze the provided text with a focus on the topic, identifying recent issues, recent insights, or improvements relevant to academic standards and effectiveness. Offer actionable advice for enhancing knowledge and suggest real-life examples."
16
- model_name = "gemini-1.5-flash"
17
  model = genai.GenerativeModel(model_name, system_instruction=system_instruction_analysis)
18
  #genai.configure(api_key=google_key)
19
 
 
1
+ gemini-1.5-flash-001import os
2
  import time
3
  from typing import List, Tuple, Optional
4
  import google.generativeai as genai
 
13
  IMAGE_WIDTH = 512
14
 
15
  system_instruction_analysis = "You are an expert of the given topic. Analyze the provided text with a focus on the topic, identifying recent issues, recent insights, or improvements relevant to academic standards and effectiveness. Offer actionable advice for enhancing knowledge and suggest real-life examples."
16
+ model_name = "gemini-1.5-flash-001"
17
  model = genai.GenerativeModel(model_name, system_instruction=system_instruction_analysis)
18
  #genai.configure(api_key=google_key)
19