Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,9 @@ def detect_fields(
|
|
| 47 |
"use_signature_fields": bool(use_signature_fields),
|
| 48 |
"keep_existing_fields": bool(keep_existing_fields),
|
| 49 |
"device": "cpu",
|
| 50 |
-
"model_or_path": "FFDNet-L-cpu",
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
accepted = {k: v for k, v in optional.items() if k in _PARAMS}
|
| 53 |
print(f"[commonforms] calling prepare_form with kwargs: {accepted}")
|
|
|
|
| 47 |
"use_signature_fields": bool(use_signature_fields),
|
| 48 |
"keep_existing_fields": bool(keep_existing_fields),
|
| 49 |
"device": "cpu",
|
| 50 |
+
"model_or_path": "jbarrow/FFDNet-L-cpu",
|
| 51 |
+
|
| 52 |
+
|
| 53 |
}
|
| 54 |
accepted = {k: v for k, v in optional.items() if k in _PARAMS}
|
| 55 |
print(f"[commonforms] calling prepare_form with kwargs: {accepted}")
|