Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,13 @@ import joblib
|
|
| 19 |
import torch
|
| 20 |
import torch.nn as nn
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
# ============================
|
| 23 |
# Configuración general
|
| 24 |
# ============================
|
|
|
|
| 19 |
import torch
|
| 20 |
import torch.nn as nn
|
| 21 |
|
| 22 |
+
import json
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
MANIFEST_PATH = Path(__file__).parent / "savant_rrf_api_manifest_phi12.json"
|
| 26 |
+
manifest = json.loads(MANIFEST_PATH.read_text(encoding="utf-8"))
|
| 27 |
+
|
| 28 |
+
|
| 29 |
# ============================
|
| 30 |
# Configuración general
|
| 31 |
# ============================
|