Ahsen Khaliq commited on
Commit
241373a
1 Parent(s): 879978a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -20,6 +20,7 @@ model.load_state_dict(torch.load("face_paint_512_v2_0.pt"))
20
 
21
  from PIL import Image
22
  from torchvision.transforms.functional import to_tensor, to_pil_image
 
23
 
24
  def face2paint(
25
  img: Image.Image,
 
20
 
21
  from PIL import Image
22
  from torchvision.transforms.functional import to_tensor, to_pil_image
23
+ import gradio as gr
24
 
25
  def face2paint(
26
  img: Image.Image,