ishworrsubedii commited on
Commit
79061d6
Β·
1 Parent(s): b29f425

update: delete unused files

Browse files
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import cv2
2
  import torch
3
  import gc
4
- import os
5
  import spaces
6
  import gradio as gr
7
  import numpy as np
@@ -12,9 +11,6 @@ from diffusers import StableDiffusionInpaintPipeline
12
 
13
  class NecklaceTryOn:
14
  def __init__(self):
15
- self.choker_images = [Image.open(os.path.join("short_necklace", x)) for x in os.listdir("short_necklace")]
16
- self.person_images = [Image.open(os.path.join("without_necklace", x)) for x in os.listdir("without_necklace")]
17
-
18
  self.model_id = "stabilityai/stable-diffusion-2-inpainting"
19
  self.pipeline = StableDiffusionInpaintPipeline.from_pretrained(
20
  self.model_id, torch_dtype=torch.float16
 
1
  import cv2
2
  import torch
3
  import gc
 
4
  import spaces
5
  import gradio as gr
6
  import numpy as np
 
11
 
12
  class NecklaceTryOn:
13
  def __init__(self):
 
 
 
14
  self.model_id = "stabilityai/stable-diffusion-2-inpainting"
15
  self.pipeline = StableDiffusionInpaintPipeline.from_pretrained(
16
  self.model_id, torch_dtype=torch.float16
short_necklace/necklace_10.png DELETED
Binary file (859 kB)
 
short_necklace/necklace_13.png DELETED
Binary file (978 kB)
 
short_necklace/necklace_14.png DELETED

Git LFS Details

  • SHA256: 0c499bcc067f08c57c7d5db8b545b933be8786fe05b5c97368eaec3c4211af4e
  • Pointer size: 132 Bytes
  • Size of remote file: 1 MB
short_necklace/necklace_2.png DELETED
Binary file (869 kB)
 
short_necklace/necklace_3.png DELETED
Binary file (897 kB)
 
short_necklace/necklace_4.png DELETED

Git LFS Details

  • SHA256: bdaff9389adc6d93b7b91c43328a2d6ca319a7acda47fc6fff9a2f02dc9ceeef
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
short_necklace/necklace_5.png DELETED

Git LFS Details

  • SHA256: 895b03101b25b367d03c9bd876b941ffaad0b184d003d53a81c112cb7b5eeb10
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
short_necklace/necklace_6.png DELETED

Git LFS Details

  • SHA256: 3fe44105eed679c7a0dae1989feda4e06bb328539bf16bd877d5dcbc78f3a3ec
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
short_necklace/necklace_7.png DELETED
Binary file (822 kB)
 
short_necklace/necklace_9.png DELETED
Binary file (841 kB)
 
without_necklace/person_1.png DELETED
Binary file (988 kB)
 
without_necklace/person_2.png DELETED
Binary file (986 kB)
 
without_necklace/person_3.png DELETED
Binary file (955 kB)