Merge pull request #17 from hodanov/feature/refactoring
Feature/refactoring
This commit is contained in:
commit
23040af1ac
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
deploy:
|
deploy:
|
||||||
modal deploy sdcli.py
|
modal deploy setup.py
|
||||||
|
|
||||||
run:
|
run:
|
||||||
modal run entrypoint.py \
|
modal run entrypoint.py \
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user