YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
license: unknown !pip install rembg !pip install onnxruntime !pip install gradio
import rembg import gradio as gr from PIL import Image
def remove_background(input_image): """ลบพื้นหลังของรูปภาพ""" output_image = rembg.remove(input_image) return output_image
iface = gr.Interface( fn=remove_background, inputs=gr.Image(type="pil"), outputs=gr.Image(type="pil"), title="โปรแกรมลบพื้นหลังรูปภาพ", description="อัปโหลดรูปภาพเพื่อลบพื้นหลัง", )
Save the interface
iface.save("remove_bg_app.html")
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support