Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 684 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 684 Bytes
ngrok http http://localhost:8095

const urls = [
    "https://6174-103-23-29-122.ngrok-free.app/predict",
    "https://2086-103-23-29-121.ngrok-free.app/predict",
];

Installation:
pip install -r requirements_reduced.txt
python main.py


Todos:
- Handle the error case in app elegantly (all servers errored)
- Popup doesnt look nice - need to improve
- Integrate `data/parkinsons_predictions.csv` in your app.

Check the main.py last parts::

    # PORT = 8095
    PORT = int(os.getenv("PORT", "10000"))
    uvicorn.run("main:app", port=PORT, host="0.0.0.0")
    # uvicorn main:app --host 0.0.0.0 --port 10000

If needed, change the ports as required