Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
from peft import PeftModel
|
6 |
import numpy as np
|
7 |
import os
|
8 |
-
from unittest.mock import
|
9 |
from transformers.dynamic_module_utils import get_imports
|
10 |
|
11 |
def fixed_get_imports(filename: str | os.PathLike) -> list[str]:
|
|
|
5 |
from peft import PeftModel
|
6 |
import numpy as np
|
7 |
import os
|
8 |
+
from unittest.mock import patch
|
9 |
from transformers.dynamic_module_utils import get_imports
|
10 |
|
11 |
def fixed_get_imports(filename: str | os.PathLike) -> list[str]:
|