Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
soiz
/
model
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
soiz
commited on
Sep 30, 2024
Commit
8edc7f0
·
verified
·
1 Parent(s):
18189db
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-1
app.py
CHANGED
Viewed
@@ -1,3 +1,4 @@
1
import gradio as gr
2
3
-
gr.Interface.load("models/often/removebg").launch()
1
import gradio as gr
2
3
+
# Switch to the new method as per the deprecation warning
4
+
gr.load("models/often", alias="removebg").launch()