Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def pipeline(img):
|
|
25 |
img.save('output.png')
|
26 |
return 'output.png'
|
27 |
|
28 |
-
examples=[['
|
29 |
-
description="
|
30 |
gr.Interface(pipeline, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="file"),description=description,allow_flagging=False,examples=examples,allow_screenshot=False,enable_queue=False).launch()
|
31 |
|
|
|
25 |
img.save('output.png')
|
26 |
return 'output.png'
|
27 |
|
28 |
+
examples=[['1.png',False], ['2.png', False], ['3.png', False], ['4.png', False], ['5.png', False]]
|
29 |
+
description="이미지 업로드 후 연필모양 아이콘 누르면 정사각형으로 자르기 할 수 있습니다. 디테일은 좀 떨어짐. 얼굴 각도(?)에 따라 잘 안될수도 있음. After uploading the image, you can square crop."
|
30 |
gr.Interface(pipeline, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="file"),description=description,allow_flagging=False,examples=examples,allow_screenshot=False,enable_queue=False).launch()
|
31 |
|