ysharma HF staff commited on
Commit
b89c8a3
1 Parent(s): d4188d5

update inversion

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def inversion(image_in, progress=gr.Progress(track_tqdm=True)):
10
  # saving the input image
11
  image_in.save("assets/test_images/cats/input_image.png")
12
  # Run the script file
13
- subprocess.run(["python", "src/inversion.py", "--input_image", "input_image.png", "--results_folder", "output/test_cat"])
14
  # Open the text file with blip caption
15
  with open("output/test_cat/prompt/input_image.txt", "r") as file:
16
  # Read the file
 
10
  # saving the input image
11
  image_in.save("assets/test_images/cats/input_image.png")
12
  # Run the script file
13
+ subprocess.run(["python", "src/inversion.py", "--input_image", "assets/test_images/cats/input_image.png", "--results_folder", "output/test_cat"])
14
  # Open the text file with blip caption
15
  with open("output/test_cat/prompt/input_image.txt", "r") as file:
16
  # Read the file