Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
852d79d
1
Parent(s):
0c0a603
Remove duplicate EvalRequest.model_type
Browse files
src/backend/manage_requests.py
CHANGED
@@ -22,11 +22,10 @@ class EvalRequest:
|
|
22 |
status: str
|
23 |
json_filepath: str
|
24 |
weight_type: str = "Original"
|
25 |
-
model_type: str =
|
26 |
precision: str = "" # float16, bfloat16
|
27 |
revision: str = "main" # commit hash
|
28 |
-
submitted_time: Optional[str] = "2022-05-18T11:40:22.519222" # random date just so that we can still order requests by date
|
29 |
-
model_type: Optional[str] = None # pretrained, fine-tuned, etc - define your own categories in
|
30 |
likes: Optional[int] = 0
|
31 |
params: Optional[int] = None
|
32 |
license: Optional[str] = ""
|
|
|
22 |
status: str
|
23 |
json_filepath: str
|
24 |
weight_type: str = "Original"
|
25 |
+
model_type: Optional[str] = None # pretrained, fine-tuned, etc - define your own categories in
|
26 |
precision: str = "" # float16, bfloat16
|
27 |
revision: str = "main" # commit hash
|
28 |
+
submitted_time: Optional[str] = "2022-05-18T11:40:22.519222" # random date just so that we can still order requests by date
|
|
|
29 |
likes: Optional[int] = 0
|
30 |
params: Optional[int] = None
|
31 |
license: Optional[str] = ""
|