Spaces:
Runtime error
Runtime error
Satyam-Singh
commited on
Commit
•
f532332
1
Parent(s):
56c2aa5
Update app.py
Browse files
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":
|
100 |
-
"top_p":
|
101 |
-
"top_k":
|
102 |
-
"max_output_tokens":
|
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",
|