fffiloni commited on
Commit
e46cbc4
·
1 Parent(s): 726f412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import subprocess
3
 
4
  def generate(image, prompt, seed):
5
  print(image, prompt, seed)
6
- command = f"python handrefiner.py --input_img {image} --out_dir /content/HandRefiner/output --strength 0.55 --weights models/inpaint_depth_control.ckpt --prompt '{prompt}' --seed {seed}"
7
  try:
8
  result = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
9
  output_path = 'output/image_0.jpg'
 
3
 
4
  def generate(image, prompt, seed):
5
  print(image, prompt, seed)
6
+ command = f"python handrefiner.py --input_img {image} --out_dir output --strength 0.55 --weights models/inpaint_depth_control.ckpt --prompt '{prompt}' --seed {seed}"
7
  try:
8
  result = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
9
  output_path = 'output/image_0.jpg'