Zoltan's review comments

add-txt2txt-models
Guillermo Rodriguez 2023-06-11 20:27:41 -03:00
parent 120d97f478
commit 1e05357a72
No known key found for this signature in database
GPG Key ID: EC3AB66D5D83B392
2 changed files with 11 additions and 11 deletions

View File

@ -213,7 +213,7 @@ def status(node_url: str, request_id: int):
@skynet.command()
@click.option(
'--account', '-a', default='telegram1')
'--account', '-a', default='telegram')
@click.option(
'--permission', '-p', default='active')
@click.option(
@ -244,7 +244,7 @@ def dequeue(
@skynet.command()
@click.option(
'--account', '-a', default='telegram1')
'--account', '-a', default='telos.gpu')
@click.option(
'--permission', '-p', default='active')
@click.option(
@ -278,7 +278,7 @@ def config(
@skynet.command()
@click.option(
'--account', '-a', default='telegram1')
'--account', '-a', default='telegram')
@click.option(
'--permission', '-p', default='active')
@click.option(

View File

@ -42,22 +42,22 @@ CREATE TABLE IF NOT EXISTS skynet.user_config(
seed NUMERIC,
guidance DECIMAL NOT NULL,
strength DECIMAL NOT NULL,
upscaler VARCHAR(128)
upscaler VARCHAR(128),
CONSTRAINT fk_config
FOREIGN KEY(id)
REFERENCES skynet.user(id)
);
ALTER TABLE skynet.user_config
ADD FOREIGN KEY(id)
REFERENCES skynet.user(id);
CREATE TABLE IF NOT EXISTS skynet.user_requests(
id BIGSERIAL NOT NULL,
user_id BIGSERIAL NOT NULL,
sent TIMESTAMP NOT NULL,
status TEXT NOT NULL,
status_msg BIGSERIAL PRIMARY KEY NOT NULL
status_msg BIGSERIAL PRIMARY KEY NOT NULL,
CONSTRAINT fk_user_req
FOREIGN KEY(user_id)
REFERENCES skynet.user(id)
);
ALTER TABLE skynet.user_requests
ADD FOREIGN KEY(user_id)
REFERENCES skynet.user(id);
'''