Spaces:
Sleeping
Sleeping
Commit
·
821b025
1
Parent(s):
83edf12
Update app.py
Browse files
app.py
CHANGED
@@ -16,5 +16,5 @@ face2paint = torch.hub.load(
|
|
16 |
def inference(img):
|
17 |
out = face2paint(model, img)
|
18 |
return out
|
19 |
-
iface = gr.Interface(fn=inference, inputs=gr.inputs.Image(type="pil"), outputs=gr.outputs.Image(type="pil"),examples=['
|
20 |
iface.launch()
|
|
|
16 |
def inference(img):
|
17 |
out = face2paint(model, img)
|
18 |
return out
|
19 |
+
iface = gr.Interface(fn=inference, inputs=gr.inputs.Image(type="pil"), outputs=gr.outputs.Image(type="pil"),examples=['gongyoo.jpeg'])
|
20 |
iface.launch()
|