Spaces:
Runtime error
Runtime error
Alex Cabrera
commited on
Commit
•
4591bfb
1
Parent(s):
cc8cccd
typing
Browse files
.github/pull_request_template.md
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Checklist
|
2 |
+
|
3 |
+
- [ ] Added new folder in the `evals` folder with `.jsonl` results and optional Zeno functions file
|
4 |
+
- [ ] Added the corresponding entry in `evals/evals.yaml` with at least one results file and the link to the evaluation
|
zeno-evals-hub/frontend/index.html
CHANGED
@@ -19,10 +19,12 @@
|
|
19 |
/>
|
20 |
<!-- Roboto Mono -->
|
21 |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono" />
|
|
|
22 |
</head>
|
23 |
<body>
|
24 |
<div id="app"></div>
|
25 |
-
<script type="module" src="http://localhost:5173/src/main.ts"></script>
|
|
|
26 |
</body>
|
27 |
</html>
|
28 |
<style>
|
|
|
19 |
/>
|
20 |
<!-- Roboto Mono -->
|
21 |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono" />
|
22 |
+
<link rel="stylesheet" href="./build/assets/main-bb8b722a.css" />
|
23 |
</head>
|
24 |
<body>
|
25 |
<div id="app"></div>
|
26 |
+
<!-- <script type="module" src="http://localhost:5173/src/main.ts"></script> -->
|
27 |
+
<script type="module" src="./build/assets/main-f64e61f0.js"></script>
|
28 |
</body>
|
29 |
</html>
|
30 |
<style>
|
zeno-evals-hub/main.py
CHANGED
@@ -6,8 +6,8 @@ import uvicorn
|
|
6 |
import yaml # type: ignore
|
7 |
from fastapi import FastAPI
|
8 |
from fastapi.staticfiles import StaticFiles
|
9 |
-
from zeno import
|
10 |
-
from zeno_evals import ZenoEvals
|
11 |
|
12 |
|
13 |
# parse information in spec
|
@@ -101,8 +101,10 @@ def command_line():
|
|
101 |
print("Running server")
|
102 |
|
103 |
port = 8000
|
|
|
104 |
port_arg = os.getenv("PORT")
|
105 |
if port_arg is not None:
|
106 |
port = int(port_arg)
|
|
|
107 |
|
108 |
-
uvicorn.run(app, host=
|
|
|
6 |
import yaml # type: ignore
|
7 |
from fastapi import FastAPI
|
8 |
from fastapi.staticfiles import StaticFiles
|
9 |
+
from zeno import get_server, zeno, ZenoParameters # type: ignore
|
10 |
+
from zeno_evals import ZenoEvals # type: ignore
|
11 |
|
12 |
|
13 |
# parse information in spec
|
|
|
101 |
print("Running server")
|
102 |
|
103 |
port = 8000
|
104 |
+
host = "localhost"
|
105 |
port_arg = os.getenv("PORT")
|
106 |
if port_arg is not None:
|
107 |
port = int(port_arg)
|
108 |
+
host = "0.0.0.0"
|
109 |
|
110 |
+
uvicorn.run(app, host=host, port=port)
|