Add "seed" menu in the Parameters tab

This commit is contained in:
wywywywy 2023-03-22 18:40:20 +00:00 committed by GitHub
parent 45b7e53565
commit 61346b88ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 additions and 19 deletions

View file

@ -56,6 +56,7 @@ class Handler(BaseHTTPRequestHandler):
penalty_alpha=0,
length_penalty=1,
early_stopping=False,
seed=-1,
)
answer = ''
@ -87,4 +88,4 @@ def run_server():
server.serve_forever()
def ui():
Thread(target=run_server, daemon=True).start()
Thread(target=run_server, daemon=True).start()