Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ProgrammerAditya36/skindetect
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: NeilGeorge1/skindetectapp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 11, 2024

  1. Commit 1

    NeilGeorge1 committed Aug 11, 2024
    Copy the full SHA
    146b669 View commit details
  2. Commit 2

    NeilGeorge1 committed Aug 11, 2024
    Copy the full SHA
    cc9386c View commit details
Showing with 88 additions and 8 deletions.
  1. +72 −7 requirements.txt
  2. +1 −1 skindetect/settings.py
  3. +2 −0 skindetect/wsgi.py
  4. +13 −0 vercel.json
79 changes: 72 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,72 @@
Django==3.2.1
numpy==2.0.1
Pillow==10.4.0
pymongo==4.8.0
Requests==2.32.3
gunicorn
whitenoise
attrs==23.2.0
Babel==2.10.3
bcc==0.29.1
blinker==1.7.0
Brlapi==0.8.5
certifi==2023.11.17
chardet==5.2.0
click==8.1.6
cloud-init==24.1.3
colorama==0.4.6
command-not-found==0.3
configobj==5.0.8
cryptography==41.0.7
cupshelpers==1.0
dbus-python==1.3.2
defer==1.0.6
distlib==0.3.8
distro==1.9.0
distro-info==1.7+build1
filelock==3.13.1
httplib2==0.20.4
idna==3.6
Jinja2==3.1.2
jsonpatch==1.32
jsonpointer==2.0
jsonschema==4.10.3
language-selector==0.1
launchpadlib==1.11.0
lazr.restfulclient==0.14.6
lazr.uri==1.0.6
louis==3.29.0
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
netaddr==0.8.0
netifaces==0.11.0
oauthlib==3.2.2
olefile==0.46
pexpect==4.9.0
pillow==10.2.0
platformdirs==4.2.0
ptyprocess==0.7.0
pycairo==1.25.1
pycups==2.0.1
Pygments==2.17.2
PyGObject==3.48.2
PyJWT==2.7.0
pyparsing==3.1.1
pyrsistent==0.20.0
pyserial==3.5
python-apt==2.7.7+ubuntu1
python-dateutil==2.8.2
python-debian==0.1.49+ubuntu2
pytz==2024.1
pyxdg==0.28
PyYAML==6.0.1
requests==2.31.0
rich==13.7.1
setuptools==68.1.2
six==1.16.0
systemd-python==235
typing_extensions==4.10.0
ubuntu-drivers-common==0.0.0
ubuntu-pro-client==8001
ufw==0.36.2
unattended-upgrades==0.1
urllib3==2.0.7
virtualenv==20.25.0+ds
wadllib==1.3.6
wheel==0.42.0
xdg==5
xkit==0.0.0
2 changes: 1 addition & 1 deletion skindetect/settings.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

ALLOWED_HOSTS = os.getenv("DJANGO_ALLOWED_HOSTS", "localhost,127.0.0.1,[::1]").split(",")
ALLOWED_HOSTS = ['.*']


# Application definition
2 changes: 2 additions & 0 deletions skindetect/wsgi.py
Original file line number Diff line number Diff line change
@@ -14,3 +14,5 @@
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'skindetect.settings')

application = get_wsgi_application()

app = application
13 changes: 13 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"builds": [{
"src": "skindetectapp/wsgi.py",
"use": "@vercel/python",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
}],
"routes": [
{
"src": "/(.*)",
"dest": "skindetectapp/wsgi.py"
}
]
}