Kajise commited on
Commit
442ff02
1 Parent(s): 04188a0

chore: use gr.load() for gr.Interface.load()

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,3 +1,3 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("models/Falconsai/nsfw_image_detection").launch()
 
1
  import gradio as gr
2
 
3
+ gr.load("models/Falconsai/nsfw_image_detection").launch()