Fix the API
This commit is contained in:
@@ -41,7 +41,6 @@ response = requests.post(f"http://{server}:7860/run/textgen", json={
|
|||||||
prompt,
|
prompt,
|
||||||
params['max_new_tokens'],
|
params['max_new_tokens'],
|
||||||
params['do_sample'],
|
params['do_sample'],
|
||||||
params['max_new_tokens'],
|
|
||||||
params['temperature'],
|
params['temperature'],
|
||||||
params['top_p'],
|
params['top_p'],
|
||||||
params['typical_p'],
|
params['typical_p'],
|
||||||
|
|||||||
Reference in New Issue
Block a user