Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import rembg
|
|
6 |
import cv2
|
7 |
import uuid
|
8 |
uid=uuid.uuid4()
|
9 |
-
if not os.path.exists(uid): os.makedirs(uid)
|
10 |
load_js = """
|
11 |
function(text_input, url_params) {
|
12 |
console.log(text_input, url_params);
|
|
|
6 |
import cv2
|
7 |
import uuid
|
8 |
uid=uuid.uuid4()
|
9 |
+
if not os.path.exists(f'{uid}'): os.makedirs(f'{uid}')
|
10 |
load_js = """
|
11 |
function(text_input, url_params) {
|
12 |
console.log(text_input, url_params);
|