Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,14 +10,6 @@ from flask import Flask, request, jsonify, send_file
|
|
| 10 |
import io
|
| 11 |
from werkzeug.utils import secure_filename
|
| 12 |
import warnings
|
| 13 |
-
|
| 14 |
-
os.system("git clone https://github.com/xuebinqin/DIS")
|
| 15 |
-
os.system("mv DIS/IS-Net/* .")
|
| 16 |
-
|
| 17 |
-
# project imports
|
| 18 |
-
from data_loader_cache import normalize, im_reader, im_preprocess
|
| 19 |
-
from models import *
|
| 20 |
-
|
| 21 |
warnings.filterwarnings("ignore")
|
| 22 |
|
| 23 |
# モデルと設定の初期化
|
|
|
|
| 10 |
import io
|
| 11 |
from werkzeug.utils import secure_filename
|
| 12 |
import warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
warnings.filterwarnings("ignore")
|
| 14 |
|
| 15 |
# モデルと設定の初期化
|