donnyb commited on
Commit
d1a0183
1 Parent(s): a31ea8b
.gitignore CHANGED
@@ -1,24 +0,0 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- dist
12
- dist-ssr
13
- *.local
14
-
15
- # Editor directories and files
16
- .vscode/*
17
- !.vscode/extensions.json
18
- .idea
19
- .DS_Store
20
- *.suo
21
- *.ntvs*
22
- *.njsproj
23
- *.sln
24
- *.sw?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Dockerfile CHANGED
@@ -24,4 +24,4 @@ WORKDIR $HOME/app
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
+ CMD ["python3", "main.py", "--host", "0.0.0.0", "--port", "7860"]
dist/assets/github-mark-7a0dd11e.svg ADDED
dist/assets/index-a6a8b4f4.css ADDED
@@ -0,0 +1 @@
 
 
1
+ @import"https://fonts.googleapis.com/css2?family=Exo:ital,wght@1,600&display=swap";:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#505050;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:hover{border-color:var(--primary-color)}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.top.svelte-g3nrlw{display:flex;justify-content:space-between}.reset.svelte-g3nrlw{padding:.2em 1em;font-size:1em;font-weight:400;font-family:inherit;cursor:pointer;transition:border-color .25s}.selection.svelte-g3nrlw{color:#d3d3d3;font-size:smaller}.title.svelte-g3nrlw{font-family:Exo,sans-serif;font-size:18px;color:var(--primary-color)}.container.svelte-mufgje,.hist.svelte-1velrzw,#hist-container.svelte-1velrzw{display:inline-block}.axis.svelte-ozj2oi{color:gray}.label.svelte-ozj2oi{color:gray;font-size:smaller}:root{--bg-color:white;--text-color:rgb(53, 53, 53);--primary-color:var(--text-color)}body,html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;background-color:var(--bg-color);color:var(--text-color)}main.svelte-1q815rq{padding:15px}header.svelte-1q815rq{display:flex;justify-content:space-between;align-items:center;background-color:#fafafa;border-radius:5px;box-shadow:0 0 3px 1px #0000001d;margin:10px 10px 5px;padding:15px 25px 15px 15px}#table.svelte-1q815rq{border:1px solid lightgrey;margin-top:20px;padding:20px;border-radius:10px}#vis.svelte-1q815rq{width:100%;height:500px}#charts.svelte-1q815rq{display:flex;gap:20px}#hists.svelte-1q815rq{display:flex;flex-wrap:wrap;gap:10px}table.svelte-1q815rq{border-collapse:collapse;width:100%;table-layout:fixed}td.svelte-1q815rq,th.svelte-1q815rq{border:1px solid #dddddd;text-align:left;padding:8px}th.svelte-1q815rq{font-weight:500;background-color:#f9f9f9}
dist/assets/index-f2635686.js ADDED
The diff for this file is too large to render. See raw diff
 
dist/index.html ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <script type="module" crossorigin src="/assets/index-f2635686.js"></script>
8
+ <link rel="stylesheet" href="/assets/index-a6a8b4f4.css">
9
+ </head>
10
+ <body>
11
+ <div id="app"></div>
12
+
13
+ </body>
14
+ </html>
main.py CHANGED
@@ -51,5 +51,5 @@ def serve(port=8000, host="localhost"):
51
  run(app, port=port, host=host)
52
 
53
 
54
- # if __name__ == "__main__":
55
- # Fire(serve) # so I can run cli args with it
 
51
  run(app, port=port, host=host)
52
 
53
 
54
+ if __name__ == "__main__":
55
+ Fire(serve) # so I can run cli args with it