Add "seed" menu in the Parameters tab
This commit is contained in:
parent
45b7e53565
commit
61346b88ea
6 changed files with 33 additions and 19 deletions
|
@ -32,6 +32,7 @@ params = {
|
|||
'penalty_alpha': 0,
|
||||
'length_penalty': 1,
|
||||
'early_stopping': False,
|
||||
'seed': -1,
|
||||
}
|
||||
|
||||
# Input prompt
|
||||
|
@ -54,6 +55,7 @@ response = requests.post(f"http://{server}:7860/run/textgen", json={
|
|||
params['penalty_alpha'],
|
||||
params['length_penalty'],
|
||||
params['early_stopping'],
|
||||
params['seed'],
|
||||
]
|
||||
}).json()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue