Spaces:
Running
Running
Update app.py
Browse files
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.
|
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
|