ghostleek commited on
Commit
2fd94db
1 Parent(s): 98881f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import sys
2
  import os
3
  sys.path.append(os.path.dirname(os.path.realpath(__file__)))
4
- os.mkdir('image')
5
  sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
6
  import gradio as gr
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, CLIPSegProcessor, CLIPSegForImageSegmentation
 
1
  import sys
2
  import os
3
  sys.path.append(os.path.dirname(os.path.realpath(__file__)))
4
+ os.makedirs('image', exist_ok=True)
5
  sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
6
  import gradio as gr
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, CLIPSegProcessor, CLIPSegForImageSegmentation