Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
adds variables EvalRequest is searching for
Browse filesEvalRequest initialization fails when called with **data, because **data in this demo can include `base_model` and `private`.
src/backend/manage_requests.py
CHANGED
@@ -25,6 +25,8 @@ class EvalRequest:
|
|
25 |
likes: Optional[int] = 0
|
26 |
params: Optional[int] = None
|
27 |
license: Optional[str] = ""
|
|
|
|
|
28 |
|
29 |
def get_model_args(self):
|
30 |
"""Edit this function if you want to manage more complex quantization issues. You'll need to map it to
|
|
|
25 |
likes: Optional[int] = 0
|
26 |
params: Optional[int] = None
|
27 |
license: Optional[str] = ""
|
28 |
+
base_model: Optional[str] = ""
|
29 |
+
private: Optional[bool] = False
|
30 |
|
31 |
def get_model_args(self):
|
32 |
"""Edit this function if you want to manage more complex quantization issues. You'll need to map it to
|