Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
import yt_dlp
|
3 |
import os
|
4 |
import json
|
|
|
5 |
load_js = """
|
6 |
function(text_input, url_params) {
|
7 |
console.log(text_input, url_params);
|
@@ -10,6 +11,9 @@ function(text_input, url_params) {
|
|
10 |
return [text_input, url_params]
|
11 |
}
|
12 |
"""
|
|
|
|
|
|
|
13 |
def predict(text, url_params):
|
14 |
mod_url=""
|
15 |
mod=gr.HTML("")
|
|
|
2 |
import yt_dlp
|
3 |
import os
|
4 |
import json
|
5 |
+
import backgroundremover
|
6 |
load_js = """
|
7 |
function(text_input, url_params) {
|
8 |
console.log(text_input, url_params);
|
|
|
11 |
return [text_input, url_params]
|
12 |
}
|
13 |
"""
|
14 |
+
|
15 |
+
def rem_bg():
|
16 |
+
|
17 |
def predict(text, url_params):
|
18 |
mod_url=""
|
19 |
mod=gr.HTML("")
|