mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 09:40:20 +01:00
Fix the API
This commit is contained in:
parent
77f58e5dab
commit
2b4ce79b6f
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user