From 2b4ce79b6f768b3b0764b748e7dd0a95257ab814 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 24 Feb 2023 17:38:15 -0300 Subject: [PATCH] Fix the API --- api-example.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api-example.py b/api-example.py index f2f6c51e..0306b7ab 100644 --- a/api-example.py +++ b/api-example.py @@ -41,7 +41,6 @@ response = requests.post(f"http://{server}:7860/run/textgen", json={ prompt, params['max_new_tokens'], params['do_sample'], - params['max_new_tokens'], params['temperature'], params['top_p'], params['typical_p'],