ll7098ll commited on
Commit
452a07e
·
verified ·
1 Parent(s): 94bac7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,13 +9,13 @@ genai.configure(api_key=os.environ["GEMINI_API_KEY"])
9
  generation_config = {
10
  "temperature": 1,
11
  "top_p": 0.95,
12
- "top_k": 64,
13
  "max_output_tokens": 8192,
14
  "response_mime_type": "text/plain",
15
  }
16
 
17
  model = genai.GenerativeModel(
18
- model_name="gemini-1.5-flash-exp-0827",
19
  generation_config=generation_config,
20
  )
21
 
 
9
  generation_config = {
10
  "temperature": 1,
11
  "top_p": 0.95,
12
+ "top_k": 40,
13
  "max_output_tokens": 8192,
14
  "response_mime_type": "text/plain",
15
  }
16
 
17
  model = genai.GenerativeModel(
18
+ model_name="gemini-1.5-flash-002",
19
  generation_config=generation_config,
20
  )
21