Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,7 @@ def invoke(prompt):
|
|
43 |
"max_output_tokens": config["max_output_tokens"],
|
44 |
"temperature": config["temperature"],
|
45 |
"top_k": config["top_k"],
|
46 |
-
"top_p": config["top_p"]
|
47 |
-
})
|
48 |
|
49 |
if (completion.text != None):
|
50 |
completion = completion.text
|
|
|
43 |
"max_output_tokens": config["max_output_tokens"],
|
44 |
"temperature": config["temperature"],
|
45 |
"top_k": config["top_k"],
|
46 |
+
"top_p": config["top_p"]})
|
|
|
47 |
|
48 |
if (completion.text != None):
|
49 |
completion = completion.text
|