Merge pull request #17 from hodanov/feature/refactoring

Feature/refactoring
This commit is contained in:
hodanov 2023-06-28 14:57:42 +09:00 committed by GitHub
commit 23040af1ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
deploy: deploy:
modal deploy sdcli.py modal deploy setup.py
run: run:
modal run entrypoint.py \ modal run entrypoint.py \

View File

@ -30,7 +30,6 @@ def main(
if seed == -1: if seed == -1:
seed_generated = util.generate_seed() seed_generated = util.generate_seed()
start_time = time.time() start_time = time.time()
# images = sd.run_inference(seed=seed_generated)
images = stub.app.run_inference.call( images = stub.app.run_inference.call(
prompt=prompt, prompt=prompt,
n_prompt=n_prompt, n_prompt=n_prompt,

View File