Omnibus commited on
Commit
f950f97
·
1 Parent(s): 51ede94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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);