Satyam-Singh commited on
Commit
f532332
1 Parent(s): 56c2aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -96,10 +96,10 @@ genai.configure(api_key=os.getenv("GOOGLE_PALM_KEY"))
96
 
97
  # Set up the model
98
  generation_config = {
99
- "temperature": temperature_component,#0.9,
100
- "top_p": top_p_component,#1,
101
- "top_k": top_k_component,#1,
102
- "max_output_tokens": max_output_tokens_component,#4096,
103
  }
104
 
105
  model = genai.GenerativeModel(model_name="gemini-pro",
 
96
 
97
  # Set up the model
98
  generation_config = {
99
+ "temperature": 0.9,
100
+ "top_p": 1,
101
+ "top_k": 1,
102
+ "max_output_tokens": 4096,
103
  }
104
 
105
  model = genai.GenerativeModel(model_name="gemini-pro",