-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d7fb374
Showing
218 changed files
with
208,473 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
atri = "*" | ||
fastapi = "*" | ||
uvicorn = "*" | ||
jsonpickle = "*" | ||
python-multipart = "*" | ||
atri-utils = "*" | ||
passporteye = "*" | ||
opencv-python = ">=4.1.1" | ||
gdown = "*" | ||
torch = ">=1.7.0" | ||
matplotlib = ">=3.2.2" | ||
numpy = ">=1.18.5" | ||
pillow = ">=7.1.2" | ||
pyyaml = ">=5.3.1" | ||
requests = ">=2.23.0" | ||
scipy = ">=1.4.1" | ||
torchvision = ">=0.8.1" | ||
tqdm = ">=4.64.0" | ||
protobuf = "<4.21.3" | ||
tensorboard = ">=2.4.1" | ||
pandas = ">=1.1.4" | ||
seaborn = ">=0.11.0" | ||
ipython = "*" | ||
psutil = "*" | ||
thop = ">=0.1.1" | ||
boto3 = "*" | ||
python-dotenv = "*" | ||
easyocr = "*" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.8" |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"unsplash_SFT9G3pAxLY.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"logo (1).svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"logo (2).svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"homepage_wallpaper.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"Chat bubble.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"Launch.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"exclaim.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"warning.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"wrong.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"left-arrow.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"right-arrow.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"right_disabled.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"warning_disabled.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"wrong-disabled.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"profile_pic_1.png": { | ||
"mime": "image/png" | ||
}, | ||
"profile_pic_3.png": { | ||
"mime": "image/png" | ||
}, | ||
"propfile_pic_2.png": { | ||
"mime": "image/png" | ||
}, | ||
"file_upload.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"run_test.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"check.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"login_wallpaper.png": { | ||
"mime": "image/png" | ||
}, | ||
"example_driving_license.png": { | ||
"mime": "image/png" | ||
}, | ||
"gray_circle.svg": { | ||
"mime": "image/svg+xml" | ||
}, | ||
"account_circle.svg": { | ||
"mime": "image/svg+xml" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"virt_type": "pipenv", | ||
"version": "0.0.46" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["react-app", "prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import App from "../../app/src/App"; | ||
import ReactDOMServer from "react-dom/server"; | ||
import { StaticRouter } from "react-router-dom/server"; | ||
|
||
function renderRoute(App: React.FC, route: string): string { | ||
const appStr = ReactDOMServer.renderToString( | ||
<StaticRouter location={route}> | ||
<App /> | ||
</StaticRouter> | ||
); | ||
return appStr; | ||
} | ||
|
||
export function getAppText(url: string, appHtmlContent: string) { | ||
const appText = renderRoute(App, url); | ||
const finalText = appHtmlContent.replace( | ||
'<div id="root" style="height: 100vh"></div>', | ||
`<div id="root" style="height: 100vh">${appText}</div>` | ||
); | ||
return finalText; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<style>@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');</style> | ||
<style>@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,400;1,500;1,600;1,700&display=swap');</style> | ||
<title>Atri Labs</title> | ||
</head> | ||
<body> | ||
<div id="root" style="height: 100vh"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Routes, Route } from "react-router-dom"; | ||
import "./styles.css"; | ||
import Home from "./pages/Home.jsx"; | ||
import Viewtest from "./pages/Viewtest.jsx"; | ||
import Newtest from "./pages/Newtest.jsx"; | ||
import Newtestresult from "./pages/Newtestresult.jsx"; | ||
import Login from "./pages/Login.jsx"; | ||
|
||
export default function App() { | ||
return ( | ||
<Routes> | ||
<Route path="/" element={<Home />} /> | ||
<Route path="/viewtest" element={<Viewtest />} /> | ||
<Route path="/newtest" element={<Newtest />} /> | ||
<Route path="/newtestresult" element={<Newtestresult />} /> | ||
<Route path="/login" element={<Login />} /> | ||
</Routes> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import create from "zustand"; | ||
|
||
const useIoStore = create((set) => { | ||
return { | ||
"Home": {}, | ||
"viewtest": {}, | ||
"newtest": { | ||
"Upload1": { | ||
"io": { | ||
"files": { | ||
"type": "files", | ||
"mode": "upload" | ||
} | ||
} | ||
} | ||
}, | ||
"newtestresult": {}, | ||
"login": {} | ||
}}); | ||
|
||
export default useIoStore; |
Oops, something went wrong.