dhavalkadia-fda
commited on
Upload 2 files
Browse files
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
PyBDC_container/PyBDC_container.sif filter=lfs diff=lfs merge=lfs -text
|
PyBDC_container/PyBDC_container.sif
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d7fc07fc17a31f5a84f595d3d758cbde24e7af7be8e8efe3143ffc0afbe0f39
|
3 |
+
size 313126912
|
PyBDC_container/PyBDC_definition.def
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BootStrap: docker
|
2 |
+
From: ubuntu:22.04
|
3 |
+
|
4 |
+
%arguments
|
5 |
+
path_package=""
|
6 |
+
|
7 |
+
%files
|
8 |
+
{{ path_package }} /usr/local/bin/PyBDC
|
9 |
+
|
10 |
+
%post
|
11 |
+
export DEBIAN_FRONTEND=noninteractive
|
12 |
+
export TZ=America/New_York
|
13 |
+
|
14 |
+
# Update package repositories
|
15 |
+
apt-get -y update
|
16 |
+
|
17 |
+
# Install dependencies
|
18 |
+
apt-get -y install python3.11-tk
|
19 |
+
apt-get -y install pip
|
20 |
+
pip install -r /usr/local/bin/PyBDC/requirements.txt
|
21 |
+
|
22 |
+
%runscript
|
23 |
+
# Change the current working directory
|
24 |
+
cd /usr/local/bin/PyBDC
|
25 |
+
# To set more appropriate font size for the UI (example, running from container may require UI to have larger font size)
|
26 |
+
# More details are available in /PyBDC.py
|
27 |
+
python3 /usr/local/bin/PyBDC/PyBDC.py --font_size_set 2
|