ravikumar101 commited on
Commit
5688e62
·
verified ·
1 Parent(s): f171301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -2,11 +2,10 @@ import gradio as gr
2
  import torch
3
  from diffusers import StableDiffusionInpaintPipeline
4
 
5
- pipe = StableDiffusionInpaintPipeline.from_pretrained(
6
- "stabilityai/stable-diffusion-2-inpainting",
7
- torch_dtype=torch.float16,
8
- )
9
- import gradio as gr
10
  from PIL import Image
11
 
12
  def process_image(image: Image.Image, prompt: str, slider_value: int) -> Image.Image:
 
2
  import torch
3
  from diffusers import StableDiffusionInpaintPipeline
4
 
5
+ # pipe = StableDiffusionInpaintPipeline.from_pretrained(
6
+ # "stabilityai/stable-diffusion-2-inpainting",
7
+ # torch_dtype=torch.float16,
8
+ # )
 
9
  from PIL import Image
10
 
11
  def process_image(image: Image.Image, prompt: str, slider_value: int) -> Image.Image: