Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Basma Boussaha commited on
Commit ·
9b22d7a
1
Parent(s): f8317f3
fix precision
Browse files
app.py
CHANGED
|
@@ -185,19 +185,19 @@ async def get_benchmark_details(
|
|
| 185 |
async def handle_submission(
|
| 186 |
model_name: str = Form(...),
|
| 187 |
model_type: str = Form(...),
|
| 188 |
-
precision: str = Form(...),
|
| 189 |
-
revision: str = Form(...),
|
| 190 |
-
weight_type: str = Form(...),
|
| 191 |
-
base_model: str = Form(None)
|
| 192 |
):
|
| 193 |
"""Handles form submission."""
|
| 194 |
try:
|
| 195 |
result_msg = submit_model(
|
| 196 |
model_name=model_name,
|
| 197 |
-
base_model=base_model,
|
| 198 |
-
revision=revision,
|
| 199 |
-
precision=precision,
|
| 200 |
-
weight_type=weight_type,
|
| 201 |
model_type=model_type
|
| 202 |
)
|
| 203 |
|
|
|
|
| 185 |
async def handle_submission(
|
| 186 |
model_name: str = Form(...),
|
| 187 |
model_type: str = Form(...),
|
| 188 |
+
# precision: str = Form(...),
|
| 189 |
+
# revision: str = Form(...),
|
| 190 |
+
# weight_type: str = Form(...),
|
| 191 |
+
# base_model: str = Form(None)
|
| 192 |
):
|
| 193 |
"""Handles form submission."""
|
| 194 |
try:
|
| 195 |
result_msg = submit_model(
|
| 196 |
model_name=model_name,
|
| 197 |
+
# base_model=base_model,
|
| 198 |
+
# revision=revision,
|
| 199 |
+
# precision=precision,
|
| 200 |
+
# weight_type=weight_type,
|
| 201 |
model_type=model_type
|
| 202 |
)
|
| 203 |
|