Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
•
5eaa44c
1
Parent(s):
5c28041
Update app.py
Browse files
app.py
CHANGED
@@ -751,8 +751,8 @@ def get_model_device(module):
|
|
751 |
except Exception as e:
|
752 |
return 'Error'
|
753 |
|
754 |
-
ram_enable =
|
755 |
-
kosmos_enable =
|
756 |
|
757 |
task_types = ["detection", "segment", "inpainting", "remove"]
|
758 |
if ram_enable:
|
|
|
751 |
except Exception as e:
|
752 |
return 'Error'
|
753 |
|
754 |
+
ram_enable = False
|
755 |
+
kosmos_enable = True
|
756 |
|
757 |
task_types = ["detection", "segment", "inpainting", "remove"]
|
758 |
if ram_enable:
|