Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,10 @@ custom_css = """
|
|
22 |
def predict(prompt):
|
23 |
# Create the model
|
24 |
generation_config = {
|
25 |
-
"temperature": 1,
|
26 |
"top_p": 0.95,
|
27 |
"top_k": 40,
|
28 |
-
"max_output_tokens":
|
29 |
"response_mime_type": "text/plain",
|
30 |
}
|
31 |
|
|
|
22 |
def predict(prompt):
|
23 |
# Create the model
|
24 |
generation_config = {
|
25 |
+
"temperature": 0.1,
|
26 |
"top_p": 0.95,
|
27 |
"top_k": 40,
|
28 |
+
"max_output_tokens": 2048,
|
29 |
"response_mime_type": "text/plain",
|
30 |
}
|
31 |
|