Spaces:
Build error
Build error
Ahsen Khaliq
commited on
Commit
·
f1c40cb
1
Parent(s):
27dab64
Update app.py
Browse files
app.py
CHANGED
@@ -38,5 +38,4 @@ def inference(img):
|
|
38 |
return Image.fromarray(np.uint8(out.get_image())).convert('RGB')
|
39 |
|
40 |
|
41 |
-
|
42 |
-
iface.launch()
|
|
|
38 |
return Image.fromarray(np.uint8(out.get_image())).convert('RGB')
|
39 |
|
40 |
|
41 |
+
gr.Interface(inference, inputs=gr.inputs.Image(type="file"), outputs=gr.outputs.Image(type="pil")).launch()
|
|