Katieearl1513 commited on
Commit
cd8885f
·
verified ·
1 Parent(s): 42f79de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,10 +9,10 @@ genai.configure(api_key=api_key)
9
 
10
  # Define the model with desired generation configuration
11
  generation_config = {
12
- "temperature": 1,
13
- "top_p": 0.95,
14
- "top_k": 40,
15
- "max_output_tokens": 8192,
16
  "response_mime_type": "text/plain",
17
  }
18
  model_name = "gemini-2.0-flash-exp" # Use the updated model
 
9
 
10
  # Define the model with desired generation configuration
11
  generation_config = {
12
+ "temperature": 0.7,
13
+ "top_p": 0.9,
14
+ "top_k": 30,
15
+ "max_output_tokens": 3000,
16
  "response_mime_type": "text/plain",
17
  }
18
  model_name = "gemini-2.0-flash-exp" # Use the updated model