Spaces:
Runtime error
Runtime error
fix bug
Browse files- utils/florence.py +1 -1
utils/florence.py
CHANGED
|
@@ -20,7 +20,7 @@ def fixed_get_imports(filename: Union[str, os.PathLike]) -> list[str]:
|
|
| 20 |
if not str(filename).endswith("/modeling_florence2.py"):
|
| 21 |
return get_imports(filename)
|
| 22 |
imports = get_imports(filename)
|
| 23 |
-
imports.remove("flash_attn")
|
| 24 |
return imports
|
| 25 |
|
| 26 |
|
|
|
|
| 20 |
if not str(filename).endswith("/modeling_florence2.py"):
|
| 21 |
return get_imports(filename)
|
| 22 |
imports = get_imports(filename)
|
| 23 |
+
# imports.remove("flash_attn")
|
| 24 |
return imports
|
| 25 |
|
| 26 |
|