Spaces:
Running
on
T4
Running
on
T4
yizhangliu
commited on
Commit
•
d64c583
1
Parent(s):
dc8a986
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,9 @@ if os.environ.get('IS_MY_DEBUG') is not None:
|
|
52 |
|
53 |
if kosmos_enable:
|
54 |
# os.system("pip install transformers@git+https://github.com/huggingface/transformers.git@main")
|
55 |
-
os.system("pip install transformers==4.32.0")
|
56 |
-
|
|
|
57 |
try:
|
58 |
from lama_cleaner.model_manager import ModelManager
|
59 |
from lama_cleaner.schema import Config as lama_Config
|
|
|
52 |
|
53 |
if kosmos_enable:
|
54 |
# os.system("pip install transformers@git+https://github.com/huggingface/transformers.git@main")
|
55 |
+
# os.system("pip install transformers==4.32.0")
|
56 |
+
pass
|
57 |
+
|
58 |
try:
|
59 |
from lama_cleaner.model_manager import ModelManager
|
60 |
from lama_cleaner.schema import Config as lama_Config
|