pearmut 0.0.1a2__py3-none-any.whl → 0.0.2a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pearmut/run.py CHANGED
@@ -12,8 +12,7 @@ from pydantic import BaseModel
12
12
  from .protocols import get_next_item, reset_task, log_response
13
13
  from .utils import ROOT, load_progress_data, save_progress_data
14
14
 
15
- os.makedirs("data/outputs", exist_ok=True)
16
-
15
+ os.makedirs(f"{ROOT}/data/outputs", exist_ok=True)
17
16
 
18
17
  app = FastAPI()
19
18
  app.add_middleware(
@@ -209,4 +208,9 @@ async def _download_progress(
209
208
 
210
209
  return JSONResponse(content=output, status_code=200)
211
210
 
212
- app.mount("/", StaticFiles(directory="src/static", html=True), name="static")
211
+
212
+ app.mount(
213
+ "/",
214
+ StaticFiles(directory=f"{os.path.dirname(os.path.abspath(__file__))}/static/" , html=True, follow_symlink=True),
215
+ name="static",
216
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pearmut
3
- Version: 0.0.1a2
3
+ Version: 0.0.2a1
4
4
  Summary: A tool for evaluation of model outputs, primarily MT.
5
5
  Author-email: Vilém Zouhar <vilem.zouhar@gmail.com>
6
6
  License: MIT
@@ -0,0 +1,17 @@
1
+ pearmut/cli.py,sha256=vFHnVJEX4EcLrDlhgEXGW1w5aGDukx0vt4vAuW703sQ,5206
2
+ pearmut/model.py,sha256=icC6uE9iQOtoPBtjlaTjCF9l7fb8qrTIlrGeM7k6m4M,1827
3
+ pearmut/protocols.py,sha256=GoqWNXMGereEqxzN_5sZiKqdB3w-_UVR-wtx0J86KgA,4319
4
+ pearmut/run.py,sha256=OCXpCxctbzn9smGc527zPdHODYRyk3-58HHbfTRj7os,6804
5
+ pearmut/utils.py,sha256=6hfVenrVdGm1r-7uJIkWHhX9o0ztWjqPse_j_MqkgBw,1443
6
+ pearmut/static/dashboard.bundle.js,sha256=bd7L6wiFIHTdCk1bgiDkWNhJ-T9OwI3pq8TsisHaubE,91046
7
+ pearmut/static/dashboard.html,sha256=yXwKubqBYdWZ260xRSgNcfebtDVWPl6J5UAa6sj2NOk,1742
8
+ pearmut/static/index.html,sha256=ieCRLK83MVe-f-gtjYiOlvE-kKd8VnFF2xgyi6FoZpU,872
9
+ pearmut/static/pointwise.bundle.js,sha256=2aGddZQPxdVM73Ln9-ZJen42VeTY5fhMiAYgO1I63Rw,98820
10
+ pearmut/static/pointwise.html,sha256=7C2IN61js9F2445whHVDptxdIfL-ntw5u4rF2OoBWzo,4436
11
+ pearmut/static/assets/favicon.svg,sha256=gVPxdBlyfyJVkiMfh8WLaiSyH4lpwmKZs8UiOeX8YW4,7347
12
+ pearmut/static/assets/style.css,sha256=jfETRgVCohe680_30GXxbV4Zq4-B6UlXd5pZXlVLIRs,888
13
+ pearmut-0.0.2a1.dist-info/METADATA,sha256=m2iiQqLdxvIsBINGwQirj1wxg67a5O-ANGhpCDql34Q,639
14
+ pearmut-0.0.2a1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ pearmut-0.0.2a1.dist-info/entry_points.txt,sha256=eEA9LVWsS3neQbMvL_nMvEw8I0oFudw8nQa1iqxOiWM,45
16
+ pearmut-0.0.2a1.dist-info/top_level.txt,sha256=CdgtUM-SKQDt6o5g0QreO-_7XTBP9_wnHMS1P-Rl5Go,8
17
+ pearmut-0.0.2a1.dist-info/RECORD,,
@@ -1,17 +0,0 @@
1
- pearmut/cli.py,sha256=vFHnVJEX4EcLrDlhgEXGW1w5aGDukx0vt4vAuW703sQ,5206
2
- pearmut/model.py,sha256=icC6uE9iQOtoPBtjlaTjCF9l7fb8qrTIlrGeM7k6m4M,1827
3
- pearmut/protocols.py,sha256=GoqWNXMGereEqxzN_5sZiKqdB3w-_UVR-wtx0J86KgA,4319
4
- pearmut/run.py,sha256=Nello0X7S7Gle7BSDsCQ7g1pLc3AX8kSxOGAkaYAXYw,6716
5
- pearmut/utils.py,sha256=6hfVenrVdGm1r-7uJIkWHhX9o0ztWjqPse_j_MqkgBw,1443
6
- static/dashboard.bundle.js,sha256=bd7L6wiFIHTdCk1bgiDkWNhJ-T9OwI3pq8TsisHaubE,91046
7
- static/dashboard.html,sha256=yXwKubqBYdWZ260xRSgNcfebtDVWPl6J5UAa6sj2NOk,1742
8
- static/index.html,sha256=ieCRLK83MVe-f-gtjYiOlvE-kKd8VnFF2xgyi6FoZpU,872
9
- static/pointwise.bundle.js,sha256=2aGddZQPxdVM73Ln9-ZJen42VeTY5fhMiAYgO1I63Rw,98820
10
- static/pointwise.html,sha256=7C2IN61js9F2445whHVDptxdIfL-ntw5u4rF2OoBWzo,4436
11
- static/assets/favicon.svg,sha256=gVPxdBlyfyJVkiMfh8WLaiSyH4lpwmKZs8UiOeX8YW4,7347
12
- static/assets/style.css,sha256=jfETRgVCohe680_30GXxbV4Zq4-B6UlXd5pZXlVLIRs,888
13
- pearmut-0.0.1a2.dist-info/METADATA,sha256=SGijDSdXZo3EvVU4x-SvKmE8cAPZQqIZjRKLzVoQIbA,639
14
- pearmut-0.0.1a2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- pearmut-0.0.1a2.dist-info/entry_points.txt,sha256=eEA9LVWsS3neQbMvL_nMvEw8I0oFudw8nQa1iqxOiWM,45
16
- pearmut-0.0.1a2.dist-info/top_level.txt,sha256=CdgtUM-SKQDt6o5g0QreO-_7XTBP9_wnHMS1P-Rl5Go,8
17
- pearmut-0.0.1a2.dist-info/RECORD,,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes