Spaces:
Runtime error
Runtime error
Commit
·
5291e0b
1
Parent(s):
1636eea
command
Browse files- zeno-evals-hub/main.py +5 -1
zeno-evals-hub/main.py
CHANGED
@@ -6,7 +6,7 @@ import uvicorn
|
|
6 |
import yaml # type: ignore
|
7 |
from fastapi import FastAPI
|
8 |
from fastapi.staticfiles import StaticFiles
|
9 |
-
from zeno import get_server, zeno
|
10 |
from zeno_evals import ZenoEvals # type: ignore
|
11 |
|
12 |
|
@@ -108,3 +108,7 @@ def command_line():
|
|
108 |
host = "0.0.0.0"
|
109 |
|
110 |
uvicorn.run(app, host=host, port=port)
|
|
|
|
|
|
|
|
|
|
6 |
import yaml # type: ignore
|
7 |
from fastapi import FastAPI
|
8 |
from fastapi.staticfiles import StaticFiles
|
9 |
+
from zeno import ZenoParameters, get_server, zeno # type: ignore
|
10 |
from zeno_evals import ZenoEvals # type: ignore
|
11 |
|
12 |
|
|
|
108 |
host = "0.0.0.0"
|
109 |
|
110 |
uvicorn.run(app, host=host, port=port)
|
111 |
+
|
112 |
+
|
113 |
+
if __name__ == "__main__":
|
114 |
+
command_line()
|